Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
LI - Lawful Interception
TC LI schemas definitions
Compare revisions
ea29b438102398f22024b0c9012fb79f528aca12...ca0feaae27925e1153a722d5f637f0bd72ee25ec
Commits (2)
Merge branch 'meeting/LI65' into 'main'
· eb9f99fe
canterburym
authored
Apr 22, 2024
Output from LI#65 See merge request
!133
eb9f99fe
Fixing JSON issues with ints in examples
· ca0feaae
canterburym
authored
Apr 24, 2024
and
canterburym
committed
Apr 24, 2024
ca0feaae
Hide whitespace changes
Inline
Side-by-side
103120/examples/json/response2.json
View file @
ca0feaae
...
...
@@ -33,7 +33,7 @@
"ObjectIdentifier"
:
"7dbbc880-8750-4d3c-abe7-ea4a17646045"
,
"CountryCode"
:
"XX"
,
"OwnerIdentifier"
:
"ACTOR01"
,
"Generation"
:
"1"
,
"Generation"
:
1
,
"LastChanged"
:
"2015-09-01T12:00:00Z"
,
"auth:AuthorisationReference"
:
"W000001"
,
"auth:AuthorisationStatus"
:
{
...
...
@@ -46,7 +46,7 @@
"auth:EndTime"
:
"2015-12-01T12:00:00Z"
},
"auth:AuthorisationInvalidReason"
:
{
"ErrorCode"
:
"
3000
"
,
"ErrorCode"
:
3000
,
"ErrorDescription"
:
"The Authorisation is not associated with a valid Warrant Document Object"
}
}
...
...
@@ -60,7 +60,7 @@
"ObjectIdentifier"
:
"2b36a78b-b628-416d-bd22-404e68a0cd36"
,
"CountryCode"
:
"XX"
,
"OwnerIdentifier"
:
"ACTOR01"
,
"Generation"
:
"1"
,
"Generation"
:
1
,
"AssociatedObjects"
:
{
"AssociatedObject"
:
[
"7dbbc880-8750-4d3c-abe7-ea4a17646045"
...
...
@@ -105,7 +105,7 @@
"UniqueIdentifier"
:
"ACTOR02"
},
"task:InvalidReason"
:
{
"ErrorCode"
:
"
3000
"
,
"ErrorCode"
:
3000
,
"ErrorDescription"
:
"The associated Authorisation is in an Invalid state"
}
}
...
...
103120/examples/json/response3.json
View file @
ca0feaae
...
...
@@ -41,7 +41,7 @@
"ObjectIdentifier"
:
"7dbbc880-8750-4d3c-abe7-ea4a17646045"
,
"CountryCode"
:
"XX"
,
"OwnerIdentifier"
:
"ACTOR01"
,
"Generation"
:
"2"
,
"Generation"
:
2
,
"AssociatedObjects"
:
{
"AssociatedObject"
:
[
"4193f541-5e19-468e-b4a3-1c636ce115e9"
...
...
utils/xml_to_json.py
View file @
ca0feaae
...
...
@@ -72,7 +72,9 @@ coerce_to_list = [
coerce_to_int
=
[
'ActionIdentifier'
,
'delivery:SequenceNumber'
,
'task:Order'
'task:Order'
,
'ErrorCode'
,
'Generation'
,
]
coerce_to_bool
=
[
...
...