Segnatura XML: lo schema
La definizione dello schema XML della segnatura di protocollo secondo l’allegato 6 delle linee guida AgID sul documento informatico, restituita in diagramma leggibile tramite QXmlEdit.
Filename: segnatura_protocollo.xsd
Printed on 2022-07-03 19:45
TargetNamespace: http://www.agid.gov.it/protocollo/
Default namespace:
attributeFormDefault: qualified
elementFormDefault: qualified
import import_schemas/xmldsig-core-schema.xsdnamespace http://www.w3.org/2000/09/xmldsig#
SegnaturaInformatica type prot:SegnaturaInformaticaType
children:
sequence
| Name | Description |
|---|---|
| Intestazione | |
| Riferimenti 0 .. 1 | |
| Descrizione | |
| ds:Signature |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| lang | required fixed: ‘it’ | xs:NMTOKEN | |
| versione | required fixed: ‘3.0.0’ | xs:NMTOKEN |
Allegato type prot:DocumentoType
children:
sequence
| Name | Description |
|---|---|
| Descrizione 0 .. 1 | |
| Impronta | |
| CollocazioneTelematica 0 .. 1 | |
| firmatoDigitalmente 0 .. 1 | |
| sigillatoElettronicamente 0 .. 1 | |
| marcaturaTemporale 0 .. 1 |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| mimeType | required | xs:string | |
| nomeFile | required | xs:string |
Amministrazione type prot:AmministrazioneType
children:
sequence
| Name | Description |
|---|---|
| DenominazioneAmministrazione | |
| CFAmministrazione 0 .. 1 | |
| CodiceIPAAmministrazione | |
| ContattiAmministrazione 0 .. 1 | |
| CodiceIPAAOO 0 .. 1 | |
| ContattiAOO 0 .. 1 | |
| CodiceIPAUO 0 .. 1 | |
| ContattiUO 0 .. 1 | |
| PersonaFisica 0 .. unbounded |
AmministrazioneEstera type prot:AmministrazioneEsteraType
children:
sequence
| Name | Description |
|---|---|
| DenominazioneAmministrazione | |
| DenominazioneUfficio 0 .. 1 | |
| ContattiAmministrazione 0 .. 1 |
CAP type prot:CAPType
Allowed values:
Other restrictions:
- pattern: [0-9]{6}
CFAmministrazione type prot:PartitaIVA
Allowed values:
Other restrictions:
- pattern: [0-9]{11}
Civico type xs:string
Classifica type prot:ClassificaType
children:
sequence
| Name | Description | ||||||
|---|---|---|---|---|---|---|---|
| Denominazione | |||||||
| choice | |||||||
| |||||||
CodiceAmministrazione type prot:CodiceIPA
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
CodiceAOO type prot:CodiceIPA
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
CodiceFascicolo type xs:string
CodiceFiscale type prot:CodiceFiscaleType
Allowed values:
Other restrictions:
- pattern: [A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]
CodiceFlat type xs:string
CodiceIPAAmministrazione type prot:CodiceIPA
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
CodiceIPAAOO type prot:CodiceIPA
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
CodiceIPAUO type prot:CodiceIPA
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
CodicePath type prot:LivelloType
children:
sequence
| Name | Description |
|---|---|
| Livello | |
| SubLivello 0 .. 1 |
CodiceRegistro type prot:CodiceRegistroType
Allowed values:
Other restrictions:
- pattern: [A-Za-z0-9_\.\-]{1,16}
Cognome type xs:string
CollocazioneTelematica type prot:CollocazioneTelematicaType
children:
sequence
| Name | Description |
|---|---|
| HostValue | |
| PathValue |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| password | xs:string | ||
| timeToLive | xs:integer | ||
| userId | xs:string |
Comune type prot:ComuneType
Attributes:
Allowed values:
Other restrictions:
- pattern: [0-9]{6}
| Name | Use | Type | Annotations |
|---|---|---|---|
| CodiceISTAT | required | prot:CodiceISTATComune6Type |
Contatti type prot:ContattiType
children:
sequence
| Name | Description |
|---|---|
| IndirizzoPostale 0 .. unbounded | |
| IndirizzoTelematico 0 .. unbounded | |
| Telefono 0 .. unbounded |
ContattiAmministrazione type prot:ContattiType
children:
sequence
| Name | Description |
|---|---|
| IndirizzoPostale 0 .. unbounded | |
| IndirizzoTelematico 0 .. unbounded | |
| Telefono 0 .. unbounded |
ContattiAOO type prot:ContattiType
children:
sequence
| Name | Description |
|---|---|
| IndirizzoPostale 0 .. unbounded | |
| IndirizzoTelematico 0 .. unbounded | |
| Telefono 0 .. unbounded |
ContattiPersonaGiuridica type prot:ContattiType
children:
sequence
| Name | Description |
|---|---|
| IndirizzoPostale 0 .. unbounded | |
| IndirizzoTelematico 0 .. unbounded | |
| Telefono 0 .. unbounded |
ContattiUO type prot:ContattiType
children:
sequence
| Name | Description |
|---|---|
| IndirizzoPostale 0 .. unbounded | |
| IndirizzoTelematico 0 .. unbounded | |
| Telefono 0 .. unbounded |
DataRegistrazione type xs:date
Denominazione type xs:string
DenominazioneAmministrazione type xs:string
DenominazioneUfficio type xs:string
Descrizione type xs:string
Descrizione type prot:DescrizioneType
children:
sequence
| Name | Description |
|---|---|
| Mittente 1 .. 1 | |
| Destinatario 1 .. unbounded | |
| DocumentoPrimario | |
| Allegato 0 .. unbounded |
Destinatario type prot:DestinatarioType
children:
choice
| Name | Description |
|---|---|
| Amministrazione | |
| PersonaGiuridica | |
| PersonaFisica | |
| AmministrazioneEstera |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| confermaRicezione | default value: ‘true’ | xs:boolean | |
| perConoscenza | default value: ‘false’ | xs:boolean |
Detached type prot:DetachedType
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| mimeType | xs:string | ||
| nomeFile | required | xs:string | |
| order | required | xs:integer |
DocumentoPrimario type prot:DocumentoType
children:
sequence
| Name | Description |
|---|---|
| Descrizione 0 .. 1 | |
| Impronta | |
| CollocazioneTelematica 0 .. 1 | |
| firmatoDigitalmente 0 .. 1 | |
| sigillatoElettronicamente 0 .. 1 | |
| marcaturaTemporale 0 .. 1 |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| mimeType | required | xs:string | |
| nomeFile | required | xs:string |
duf type xs:string
dug type xs:string
Fascicolo type prot:FascicoloType
children:
sequence
| Name | Description |
|---|---|
| Denominazione | |
| CodiceFascicolo |
firmatoDigitalmente type prot:SignType
children:
choice
| Name | Description |
|---|---|
| UnDetached | |
| Detached 1 .. unbounded |
HostValue type xs:anyURI
Identificatore type prot:IdentificatoreType
children:
sequence
| Name | Description |
|---|---|
| CodiceAmministrazione | |
| CodiceAOO | |
| CodiceRegistro | |
| NumeroRegistrazione | |
| DataRegistrazione | |
| OraRegistrazione 0 .. 1 |
Impronta type prot:ImprontaType
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| algoritmo | default value: ‘SHA-256’ | xs:string |
IndirizzoPostale type prot:IndirizzoPostaleType
children:
sequence
| Name | Description |
|---|---|
| Toponimo | |
| Civico | |
| CAP | |
| Comune | |
| Nazione |
IndirizzoTelematico type prot:IndirizzoTelematicoType
Attributes:
Allowed values:
- smtp
- url
- other
| Name | Use | Type | Annotations |
|---|---|---|---|
| note | xs:string | ||
| tipo | default value: ‘smtp’ | xs:NMTOKEN |
Intestazione type prot:IntestazioneType
children:
sequence
| Name | Description |
|---|---|
| Identificatore | |
| PrimaRegistrazione 0 .. 1 | |
| Oggetto | |
| Classifica | |
| Fascicolo 0 .. 1 | |
| Riservato 0 .. 1 |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| descrizione | xs:string |
marcaturaTemporale type prot:SignType
children:
choice
| Name | Description |
|---|---|
| UnDetached | |
| Detached 1 .. unbounded |
Mittente type prot:SoggettoType
children:
choice
| Name | Description |
|---|---|
| Amministrazione | |
| PersonaGiuridica | |
| PersonaFisica | |
| AmministrazioneEstera |
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| codice3166 | default value: ‘ITA’ |
Nome type xs:string
NumeroRegistrazione type prot:NumeroRegistrazioneType
Allowed values:
Other restrictions:
- pattern: [0-9]{7,}
Oggetto type xs:string
OraRegistrazione type xs:time
PathValue type xs:anyURI
PersonaFisica type prot:PersonaFisicaType
children:
sequence
| Name | Description |
|---|---|
| Nome | |
| Cognome | |
| Titolo 0 .. 1 | |
| CodiceFiscale 0 .. 1 | |
| Contatti 0 .. 1 |
PersonaGiuridica type prot:PersonaGiuridicaType
children:
sequence
| Name | Description |
|---|---|
| Denominazione | |
| PIVAoCF 0 .. 1 | |
| ContattiPersonaGiuridica 0 .. 1 | |
| PersonaFisica 0 .. unbounded |
PIVAoCF type prot:PartitaIVA
Allowed values:
Other restrictions:
- pattern: [0-9]{11}
PrimaRegistrazione type prot:IdentificatoreType
children:
sequence
| Name | Description |
|---|---|
| CodiceAmministrazione | |
| CodiceAOO | |
| CodiceRegistro | |
| NumeroRegistrazione | |
| DataRegistrazione | |
| OraRegistrazione 0 .. 1 |
Riferimenti type prot:RiferimentiType
children:
sequence
| Name | Description |
|---|---|
| Identificatore | |
| PrimaRegistrazione 0 .. 1 | |
| Oggetto | |
| Classifica | |
| Fascicolo 0 .. 1 |
Riservato type prot:RiservatoType
Attributes:
| Name | Use | Type | Annotations |
|---|---|---|---|
| note | xs:string |
sigillatoElettronicamente type prot:SignType
children:
choice
| Name | Description |
|---|---|
| UnDetached | |
| Detached 1 .. unbounded |
SubLivello type prot:LivelloType
children:
sequence
| Name | Description |
|---|---|
| Livello | |
| SubLivello 0 .. 1 |
Telefono type xs:string
Titolo type xs:string
Toponimo type prot:ToponimoType
children:
sequence
| Name | Description |
|---|---|
| dug | |
| duf |
UnDetached type xs:boolean
