Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LI - Lawful Interception
TC LI schemas definitions
Commits
cf6a40bd
Commit
cf6a40bd
authored
Sep 20, 2021
by
canterburym
Browse files
TS 103 707 v1.3.1
parent
5b86d671
Changes
4
Hide whitespace changes
Inline
Side-by-side
103707/TS_103_707.xsd
View file @
cf6a40bd
...
...
@@ -3,7 +3,7 @@
xmlns:etsi103280=
"http://uri.etsi.org/03280/common/2017/07"
xmlns=
"http://uri.etsi.org/03707/2020/02"
targetNamespace=
"http://uri.etsi.org/03707/2020/02"
version=
"1.
1
.1"
version=
"1.
3
.1"
elementFormDefault=
"qualified"
>
<xs:import
namespace=
"http://uri.etsi.org/03280/common/2017/07"
/>
...
...
@@ -13,13 +13,20 @@
<!-- ************************************************************************************* -->
<xs:element
name=
"handoverItem"
type=
"HandoverItem"
></xs:element>
<xs:element
name=
"handoverItemCollection"
type=
"HandoverItemCollection"
></xs:element>
<xs:complexType
name=
"HandoverItem"
>
<xs:sequence>
<xs:element
name=
"header"
type=
"Header"
></xs:element>
<xs:element
name=
"payload"
type=
"Payload"
></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType
name=
"HandoverItemCollection"
>
<xs:sequence>
<xs:element
name=
"handoverItem"
maxOccurs=
"unbounded"
></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType
name=
"Header"
>
<xs:sequence>
...
...
103707/portal/TS_103_707_v010
2
01.xsd
→
103707/portal/TS_103_707_v010
3
01.xsd
View file @
cf6a40bd
...
...
@@ -3,7 +3,7 @@
xmlns:etsi103280=
"http://uri.etsi.org/03280/common/2017/07"
xmlns=
"http://uri.etsi.org/03707/2020/02"
targetNamespace=
"http://uri.etsi.org/03707/2020/02"
version=
"1.
1
.1"
version=
"1.
3
.1"
elementFormDefault=
"qualified"
>
<xs:import
namespace=
"http://uri.etsi.org/03280/common/2017/07"
/>
...
...
@@ -13,13 +13,20 @@
<!-- ************************************************************************************* -->
<xs:element
name=
"handoverItem"
type=
"HandoverItem"
></xs:element>
<xs:element
name=
"handoverItemCollection"
type=
"HandoverItemCollection"
></xs:element>
<xs:complexType
name=
"HandoverItem"
>
<xs:sequence>
<xs:element
name=
"header"
type=
"Header"
></xs:element>
<xs:element
name=
"payload"
type=
"Payload"
></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType
name=
"HandoverItemCollection"
>
<xs:sequence>
<xs:element
name=
"handoverItem"
maxOccurs=
"unbounded"
></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType
name=
"Header"
>
<xs:sequence>
...
...
103707/portal/examples/example_multiple_items.xml
0 → 100644
View file @
cf6a40bd
<?xml version="1.0" encoding="utf-8"?>
<handoverItemCollection
xmlns=
"http://uri.etsi.org/03707/2020/02"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<handoverItem>
<header></header>
<payload
xsi:type=
"MessagingPayload"
>
<coreParameters>
<messageSender>
<identifiers>
<identifier>
target@example.com
</identifier>
</identifiers>
<isTargetedParty>
true
</isTargetedParty>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>
someoneelse@example.com
</identifier>
</identifiers>
</recipient>
</messageReceivers>
<timestamp>
2021-06-17T06:42:23.000000+01:00
</timestamp>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>
http://FooServiceSchema.example.com/schema/v1.1.1/
</schemaIdentifier>
</schemaDetails>
<xmlData>
<fooServiceDefinedParameters
xmlns=
"http://FooServiceSchema.example.com/schema/v1.1.1/"
>
<item1>
Foo
</item1>
<item2>
Bar
</item2>
<item3>
Baz
</item3>
</fooServiceDefinedParameters>
</xmlData>
</cspDefinedMetadata>
</cspDefinedParameters>
</payload>
</handoverItem>
<handoverItem>
<header></header>
<payload
xsi:type=
"MessagingPayload"
>
<coreParameters>
<messageSender>
<identifiers>
<identifier>
someoneelse@example.com
</identifier>
</identifiers>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>
target@example.com
</identifier>
</identifiers>
<isTargetedParty>
true
</isTargetedParty>
</recipient>
</messageReceivers>
<timestamp>
2021-06-18T06:42:23.000000+01:00
</timestamp>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>
http://FooServiceSchema.example.com/schema/v1.1.1/
</schemaIdentifier>
</schemaDetails>
<xmlData>
<fooServiceDefinedParameters
xmlns=
"http://FooServiceSchema.example.com/schema/v1.1.1/"
>
<item1>
Foo
</item1>
<item2>
Bar
</item2>
<item3>
Baz
</item3>
</fooServiceDefinedParameters>
</xmlData>
</cspDefinedMetadata>
</cspDefinedParameters>
</payload>
</handoverItem>
</handoverItemCollection>
103707/portal/testing/validate_examples.py
View file @
cf6a40bd
import
glob
import
sys
import
argparse
from
pathlib
import
Path
from
pprint
import
pprint
...
...
@@ -21,7 +22,7 @@ if __name__ == '__main__':
extraSchemas
=
[
'examples/FooServiceSchema.xsd'
,
'TS_103_280_v020
3
01.xsd'
'TS_103_280_v020
4
01.xsd'
]
locations
=
[]
...
...
@@ -29,7 +30,7 @@ if __name__ == '__main__':
xs
=
xmlschema
.
XMLSchema
(
schemaFile
,
validation
=
'skip'
)
locations
.
append
((
xs
.
default_namespace
,
str
(
Path
(
schemaFile
))))
coreSchema
=
xmlschema
.
XMLSchema
(
'TS_103_707_v010
2
01.xsd'
,
locations
=
locations
)
coreSchema
=
xmlschema
.
XMLSchema
(
'TS_103_707_v010
3
01.xsd'
,
locations
=
locations
)
for
schema
in
extraSchemas
:
newSchema
=
xmlschema
.
XMLSchema
(
schema
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment