{
  "title": "Acte Législatif",
  "description": "Les champs sont groupés par type d'acte législatif: il est nécessaire de suivre le lien associé au champ pour consulter sa documentation. Cette étape permet d'améliorer la lisiblité malgré le grand nombre de champs",
  
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "actesLegislatifs": {
      "description": "Liste des actes législatifs inclus.",
      "items": {
        "$ref": "ActeLegislatif.json"
      },
      "type": "array"
    },

    "uid": {
      "$ref": "ActeLegislatifBase.json#/properties/uid"
    },
    "codeActe": {
      "$ref": "ActeLegislatifBase.json#/properties/codeActe"
    },
    "libelleActe": {
      "$ref": "ActeLegislatifBase.json#/properties/libelleActe"
    },
    "dateActe": {
      "$ref": "ActeLegislatifBase.json#/properties/dateActe"
    },
    "organeRef": {
      "$ref": "ActeLegislatifBase.json#/properties/organeRef"
    },
    "provenanceRef": {
      "$ref": "ActeLegislatifBase.json#/properties/provenanceRef"
    },
    "voteRefs": {
      "$ref": "ActeLegislatifBase.json#/properties/voteRefs"
    },
    "statutConclusion": {
      "$comment": "jq '.. | .statutConclusion? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Conclusion d'un acte (par exemple: adopté, rejeté, non conforme).",
      "$ref": "FamCodeLibelle.json"
    },

    "casSaisine": {
      "$comment": "jq '.. | .casSaisine? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Qui est à l'orgine de la saisine du conseil constitutionnel ? (par exemple: Président de la république, 60 députés)",
      "$ref": "FamCodeLibelle.json"
    },
    "anneeDecision": {
      "$ref": "ConseilConstitutionnel.json#/properties/anneeDecision"
    },
    "urlConclusion": {
      "$ref": "ConseilConstitutionnel.json#/properties/urlConclusion"
    },
    "motif": {
      "$ref": "ConseilConstitutionnel.json#/properties/motif"
    },
    "numDecision": {
      "$ref": "ConseilConstitutionnel.json#/properties/numDecision"
    },

    "auteurMotion": {
      "$ref": "Motion.json#/properties/auteurMotion"
    },
    "auteursRefs": {
      "$ref": "Motion.json#/properties/auteursRefs"
    },
    "typeMotion": {
      "$comment": "jq '.. | .typeMotion? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Type de motion (par exemple: Motions de renvoi en commission, Question préalable).",
      "$ref": "FamCodeLibelle.json"
    },
    "typeMotionCensure": {
      "$comment": "jq '.. | .typeMotionCensure? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Type de motion de censure (par exemple: Motion de censure 49-2 ou 49-3).",
      "$ref": "FamCodeLibelle.json"
    },

    "decision": {
      "$ref": "Decision.json#/properties/decision"
    },
    "formuleDecision": {
      "$ref": "Decision.json#/properties/formuleDecision"
    },

    "codeLoi": {
      "$ref": "Promulgation.json#/properties/codeLoi"
    },
    "infoJo": {
      "description": "Informations relatives à la publication d'un texte promulgué au `journal officiel <https://fr.wikipedia.org/wiki/Journal_officiel_de_la_R%C3%A9publique_fran%C3%A7aise>`__.",
      "$ref": "Promulgation.json#/properties/infoJo"
    },
    "infoJoRect": {
      "description": "Informations relatives à la publication d'une lettre rectificative au `journal officiel <https://fr.wikipedia.org/wiki/Journal_officiel_de_la_R%C3%A9publique_fran%C3%A7aise>`__.",
      "items": {
	"$ref": "Promulgation.json#/properties/infoJo"
      },
      "type": "array"
    },
    "referenceNor": {
      "$ref": "InfoJO.json#/properties/referenceNor"
    },
    "urlLegifrance": {
      "$ref": "InfoJO.json#/properties/urlLegifrance"
    },
    "texteLoiRef": {
      "$ref": "Promulgation.json#/properties/texteLoiRef"
    },
    "titreLoi": {
      "$ref": "Promulgation.json#/properties/titreLoi"
    },
    "urlEcheancierLoi": {
      "$ref": "Promulgation.json#/properties/urlEcheancierLoi"
    },

    "contributionInternaute": {
      "$ref": "EtudeImpact.json#/properties/contributionInternaute"
    },

    "infoJoce": {
      "$ref": "Europe.json#/properties/infoJoce"
    },
    "texteEuropeen": {
      "$ref": "Europe.json#/properties/texteEuropeen"
    },

    "initiateur": {
      "$ref": "Initiateur.json#/properties/initiateur"
    },

    "odjRef": {
      "$ref": "Agenda.json#/properties/odjRef"
    },
    "reunionRef": {
      "$ref": "Agenda.json#/properties/reunionRef"
    },

    "rapporteurs": {
      "description": "Liste des rapporteurs.",
      "items": {
        "$ref": "Rapporteur.json"
      },
      "type": "array"
    },

    "statutAdoption": {
      "$comment": "jq '.. | .statutAdoption? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Lorsqu'un texte est adopté ce champ a toujours la valeur 'adopté'.",
      "$ref": "FamCodeLibelle.json"
    },
    "texteAdopteRef": {
      "$ref": "Texte.json#/properties/texteAdopteRef"
    },
    "texteAssocieRef": {
      "$ref": "Texte.json#/properties/texteAssocieRef"
    },
    "textesAssocies": {
      "$ref": "Texte.json#/properties/textesAssocies"
    },

    "typeDeclaration": {
      "$comment": "jq '.. | .typeDeclaration? | select(. != null) | .libelle' $(find ../data.tricoteuses.fr/Dossiers_Legislatifs_{XIV,XV}/dossiers -name '*.json') | sort -u",
      "description": "Type de déclaration du gouvernement (par exemple: Art.49.3)",
      "$ref": "FamCodeLibelle.json"
    },

    "xsiType": {
      "enum": [
        "Adoption_Europe_Type",
        "ConclusionEtapeCC_Type",
        "CreationOrganeTemporaire_Type",
        "DecisionMotionCensure_Type",
        "DecisionRecevabiliteBureau_Type",
        "Decision_Type",
        "DeclarationGouvernement_Type",
        "DepotAccordInternational_Type",
        "DepotAvisConseilEtat_Type",
        "DepotInitiativeNavette_Type",
        "DepotInitiative_Type",
        "DepotLettreRectificative_Type",
        "DepotMotionCensure_Type",
        "DepotMotionReferendaire_Type",
        "DepotRapport_Type",
        "DiscussionCommission_Type",
        "DiscussionSeancePublique_Type",
        "Etape_Type",
        "EtudeImpact_Type",
        "MotionProcedure_Type",
        "NominRapporteurs_Type",
        "ProcedureAccelere_Type",
        "Promulgation_Type",
        "RenvoiCMP_Type",
        "RenvoiPrealable_Type",
        "RetraitInitiative_Type",
        "SaisieComAvis_Type",
        "SaisieComFond_Type",
        "SaisineConseilConstit_Type"
      ],
      "type": "string"
    }
  },
  "required": [
    "xsiType",
    "uid",
    "codeActe",
    "libelleActe"
  ],

  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "ActeLegislatif.json",
  "$$target": "ActeLegislatif.json"
}
