Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
x19_322_algocat_schema
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ESI - Electronic Signatures and Trust Infrastructures
x19_322_algocat_schema
Commits
94ef31e2
Commit
94ef31e2
authored
2 years ago
by
Laurent Velez
Browse files
Options
Downloads
Patches
Plain Diff
initial commit
parents
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
19322algocatjsonschema.json
+221
-0
221 additions, 0 deletions
19322algocatjsonschema.json
19322algocatxmlschema.xsd
+23
-0
23 additions, 0 deletions
19322algocatxmlschema.xsd
with
244 additions
and
0 deletions
19322algocatjsonschema.json
0 → 100644
+
221
−
0
View file @
94ef31e2
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"$id"
:
"http://uri.etsi.org/19322/algoCatSchema"
,
"definitions"
:
{
"SecuritySuitabilityPolicyType"
:
{
"type"
:
"object"
,
"required"
:
[
"PolicyName"
,
"Publisher"
,
"PolicyIssueDate"
,
"Algorithm"
],
"properties"
:
{
"PolicyName"
:
{
"$ref"
:
"#/definitions/PolicyNameType"
},
"Publisher"
:
{
"$ref"
:
"#/definitions/PublisherType"
},
"PolicyIssueDate"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"NextUpdate"
:
{
"type"
:
"string"
,
"format"
:
"date-time"
},
"Usage"
:
{
"type"
:
"string"
},
"Algorithm"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/AlgorithmType"
},
"minItems"
:
1
},
"Signature"
:
{
"$ref"
:
"#/definitions/SignatureType"
},
"version"
:
{
"type"
:
"string"
,
"default"
:
"1"
},
"lang"
:
{
"type"
:
"string"
,
"default"
:
"en-GB"
},
"id"
:
{
"type"
:
"string"
}
}
},
"PolicyNameType"
:
{
"type"
:
"object"
,
"required"
:
[
"Name"
],
"properties"
:
{
"Name"
:
{
"type"
:
"string"
},
"ObjectIdentifier"
:
{
"type"
:
"string"
},
"URI"
:
{
"type"
:
"string"
,
"format"
:
"uri"
}
}
},
"PublisherType"
:
{
"type"
:
"object"
,
"required"
:
[
"Name"
],
"properties"
:
{
"Name"
:
{
"type"
:
"string"
},
"Address"
:
{
"type"
:
"string"
},
"URI"
:
{
"type"
:
"string"
,
"format"
:
"uri"
}
}
},
"AlgorithmType"
:
{
"type"
:
"object"
,
"required"
:
[
"AlgorithmIdentifier"
,
"Evaluation"
],
"properties"
:
{
"AlgorithmIdentifier"
:
{
"$ref"
:
"#/definitions/AlgorithmIdentifierType"
},
"Evaluation"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/EvaluationType"
},
"minItems"
:
1
},
"Information"
:
{
"$ref"
:
"#/definitions/InformationType"
},
"Any"
:
{
"type"
:
"object"
}
}
},
"AlgorithmIdentifierType"
:
{
"type"
:
"object"
,
"required"
:
[
"Name"
,
"ObjectIdentifier"
],
"properties"
:
{
"Name"
:
{
"type"
:
"string"
},
"ObjectIdentifier"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
},
"minItems"
:
1
},
"URI"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"format"
:
"uri"
},
"minItems"
:
0
}
}
},
"EvaluationType"
:
{
"type"
:
"object"
,
"required"
:
[
"Validity"
],
"properties"
:
{
"Parameter"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/ParameterType"
},
"minItems"
:
0
},
"Validity"
:
{
"$ref"
:
"#/definitions/ValidityType"
},
"AlgorithmUsage"
:
{
"type"
:
"string"
,
"format"
:
"uri"
},
"Recommendation"
:
{
"type"
:
"string"
,
"pattern"
:
"L|R"
},
"Any"
:
{
"type"
:
"object"
}
}
},
"ParameterType"
:
{
"type"
:
"object"
,
"required"
:
[
"name"
],
"properties"
:
{
"Min"
:
{
"type"
:
"integer"
},
"Max"
:
{
"type"
:
"integer"
},
"Any"
:
{
"type"
:
"object"
},
"name"
:
{
"type"
:
"string"
}
}
},
"ValidityType"
:
{
"type"
:
"object"
,
"properties"
:
{
"Start"
:
{
"type"
:
"string"
,
"format"
:
"date"
},
"End"
:
{
"type"
:
"string"
,
"format"
:
"date"
}
}
},
"InformationType"
:
{
"type"
:
"object"
,
"required"
:
[
"Text"
],
"properties"
:
{
"Text"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
},
"minItems"
:
1
}
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
19322algocatxmlschema.xsd
0 → 100644
+
23
−
0
View file @
94ef31e2
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema
elementFormDefault=
"qualified"
targetNamespace=
"http://uri.etsi.org/19322/v1.1.1#"
xmlns=
"http://uri.etsi.org/19322/v1.1.1#"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
>
<xs:element
name=
"MoreDetails"
type=
"ExtensionType"
/>
<xs:complexType
mixed=
"true"
name=
"ExtensionType"
>
<xs:sequence>
<xs:element
name=
"AlgorithmUsage"
type=
"xs:anyURI"
minOccurs=
"0"
maxOccurs=
"unbounded"
/>
<xs:element
name=
"Recommendation"
minOccurs=
"0"
maxOccurs=
"1"
>
<xs:simpleType>
<xs:restriction
base=
"xs:string"
>
<xs:enumeration
value=
"R"
/>
<xs:enumeration
value=
"L"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence
maxOccurs=
"unbounded"
minOccurs=
"0"
>
<xs:any
namespace=
"##other"
processContents=
"lax"
/>
</xs:sequence>
</xs:sequence>
<xs:anyAttribute
namespace=
"##any"
/>
</xs:complexType>
</xs:schema>
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment