enregistrement
Code officiel géographique : liste des communes existantes au 1er janvier 2024
Modèle de données
Cliquez pour déplier Cliquez pour replier
Schéma JSON
L'objet JSON ci dessous est une description standardisée du modèle de votre jeu de données. Pour en savoir plus sur JSON schema.
{
- "title":"cog-communes",
- "type":"object",
- "oneOf":,[
- {
- "$ref":"#/definitions/cog-communes"
}
] - "definitions":{
- "cog-communes":,{
- "properties":{
- "records":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/cog-communes_records"
}
}
} - "records":
} - "properties":
- "geoJSON":,{
- "title":"Geo JSON object",
- "description":"Schema for a Geo JSON object",
- "type":"object",
- "required":,[
- "type"
] - "properties":,{
- "crs":,{
- "$ref":"#/definitions/crs"
} - "bbox":{
- "$ref":"#/definitions/bbox"
}
} - "crs":
- "oneOf":[
- ,{
- "$ref":"#/definitions/geometry"
} - ,{
- "$ref":"#/definitions/geometryCollection"
} - ,{
- "$ref":"#/definitions/feature"
} - {
- "$ref":"#/definitions/featureCollection"
}
]
} - "bbox":,{
- "description":"A bounding box as defined by GeoJSON",
- "type":"array",
- "items":{
- "type":"number"
}
} - "crs":,{
- "title":"crs",
- "description":"a Coordinate Reference System object",
- "type":,[
- "object",
- "null"
] - "required":,[
- "type",
- "properties"
] - "properties":,{
- "type":,{
- "type":"string"
} - "properties":{
- "type":"object"
}
} - "type":
- "additionalProperties":false,
- "oneOf":[
- ,{
- "$ref":"#/definitions/namedCrs"
} - {
- "$ref":"#/definitions/linkedCrs"
}
]
} - "namedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "name"
]
} - "enum":
- "properties":{
- "required":,[
- "name"
] - "additionalProperties":false,
- "properties":{
- "name":{
- "type":"string"
}
} - "name":
} - "required":
} - "type":
} - "properties":
- "linkedObject":,{
- "type":"object",
- "required":,[
- "href"
] - "properties":{
- "href":,{
- "type":"string",
- "format":"uri"
} - "type":{
- "type":"string",
- "description":"Suggested values: proj4, ogjwkt, esriwkt"
}
} - "href":
} - "linkedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "link"
]
} - "enum":
- "properties":{
- "$ref":"#/definitions/linkedObject"
}
} - "type":
} - "properties":
- "geometryCollection":,{
- "title":"GeometryCollection",
- "description":"A collection of geometry objects",
- "required":,[
- "geometries"
] - "properties":{
- "type":,{
- "enum":[
- "GeometryCollection"
]
} - "enum":
- "geometries":{
- "type":"array",
- "items":{
- "$ref":"http://json-schema.org/geojson/geometry.json#"
}
}
} - "type":
} - "feature":,{
- "title":"Feature",
- "description":"A Geo JSON feature object",
- "required":,[
- "geometry",
- "properties"
] - "properties":{
- "type":,{
- "enum":[
- "Feature"
]
} - "enum":
- "geometry":,{
- "oneOf":[
- ,{
- "type":"null"
} - {
- "$ref":"#/definitions/geometry"
}
]
} - "oneOf":
- "properties":,{
- "type":[
- "object",
- "null"
]
} - "type":
- "id":{}
} - "type":
} - "featureCollection":,{
- "title":"FeatureCollection",
- "description":"A Geo JSON feature collection",
- "required":,[
- "features"
] - "properties":{
- "type":,{
- "enum":[
- "FeatureCollection"
]
} - "enum":
- "features":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/feature"
}
}
} - "type":
} - "geometry":,{
- "title":"geometry",
- "description":"One geometry as defined by GeoJSON",
- "type":"object",
- "required":,[
- "type",
- "coordinates"
] - "oneOf":,[
- ,{
- "title":"Point",
- "properties":{
- "type":,{
- "enum":[
- "Point"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/position"
}
} - "type":
} - ,{
- "title":"MultiPoint",
- "properties":{
- "type":,{
- "enum":[
- "MultiPoint"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/positionArray"
}
} - "type":
} - ,{
- "title":"LineString",
- "properties":{
- "type":,{
- "enum":[
- "LineString"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/lineString"
}
} - "type":
} - ,{
- "title":"MultiLineString",
- "properties":{
- "type":,{
- "enum":[
- "MultiLineString"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/lineString"
}
}
} - "type":
} - ,{
- "title":"Polygon",
- "properties":{
- "type":,{
- "enum":[
- "Polygon"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/polygon"
}
} - "type":
} - {
- "title":"MultiPolygon",
- "properties":{
- "type":,{
- "enum":[
- "MultiPolygon"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/polygon"
}
}
} - "type":
}
] - "position":,{
- "description":"A single position",
- "type":"array",
- "minItems":2,
- "items":,[
- ,{
- "type":"number"
} - {
- "type":"number"
}
] - "additionalItems":false
} - "positionArray":,{
- "description":"An array of positions",
- "type":"array",
- "items":{
- "$ref":"#/definitions/position"
}
} - "lineString":,{
- "description":"An array of two or more positions",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":2
}
]
} - "linearRing":,{
- "description":"An array of four positions where the first equals the last",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":4
}
]
} - "polygon":{
- "description":"An array of linear rings",
- "type":"array",
- "items":{
- "$ref":"#/definitions/linearRing"
}
}
} - "cog-communes_records":{
- "properties":{
- "fields":{
- "type":"object",
- "properties":{
- "dep":,{
- "type":"integer",
- "title":"DEP",
- "description":"Code département"
} - "com":,{
- "type":"integer",
- "title":"COM",
- "description":"Code commune"
} - "tncc":,{
- "type":"integer",
- "title":"TNCC",
- "description":"TNCC - Type de nom en clair Cette variable permet d'écrire le nom complet dans le cas d'un libellé avec article, et d'adapter la charnière si le nom est utilisé dans une expression comme « la commune de Marseille », « l'arrondissement du Mans », etc. Pour les noms de communes (et donc de canton et d'arrondissement), l'article est obligatoire (« Rochelle » n'existe pas sans article), alors que ce n'est pas le cas pour les noms de département ou de région (« Charente-Maritime » peut être écrit sans article). Pour les département et les régions, ce code ne sert donc que pour la charnière. – Codes de la variable TNCC Codes de la variable TNCC 0 pas d'article et le nom commence par une consonne sauf H muet. charnière = DE 1 pas d'article et le nom commence par une voyelle ou un H muet. charnière = D' 2 article = LE charnière = DU 3 article = LA charnière = DE LA 4 article = LES charnière = DES 5 article = L' charnière = DE L' 6 article = AUX charnière = DES 7 article = LAS charnière = DE LAS 8 article = LOS charnière = DE LOS"
} - "ncc":,{
- "type":"string",
- "title":"NCC",
- "description":"Nom en clair (majuscules) Libellé en lettres majuscules"
} - "nccenr":,{
- "type":"string",
- "title":"NCCENR",
- "description":"Nom en clair du canton (typographie riche) Libellé du canton auquel appartient la commune en typographie riche."
} - "typecom":,{
- "type":"string",
- "title":"TYPECOM",
- "description":""
} - "ctcd":,{
- "type":"string",
- "title":"CTCD",
- "description":""
} - "arr":,{
- "type":"string",
- "title":"ARR",
- "description":""
} - "libelle":,{
- "type":"string",
- "title":"LIBELLE",
- "description":""
} - "can":,{
- "type":"string",
- "title":"CAN",
- "description":""
} - "comparent":,{
- "type":"string",
- "title":"COMPARENT",
- "description":""
} - "geom":,{
- "type":"object",
- "oneOf":,[
- {
- "$ref":"#/definitions/geometry"
}
] - "title":"geom",
- "description":""
} - "point":{
- "type":"array",
- "minItems":2,
- "maxItems":2,
- "items":,{
- "type":"number"
} - "title":"point",
- "description":""
}
} - "dep":
}
} - "fields":
} - "properties":
} - "cog-communes":
}
Soumettre une réutilisation
Cliquez pour déplier Cliquez pour replier
Connectez-vous pour proposer une réutilisation.