{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/declararfacil-com/json-schema/declararfacil-com-profile-input-schema.json",
  "title": "ProfileInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/declararfacil-com-user-api-openapi.yml#/components/schemas/ProfileInput",
  "type": "object",
  "properties": {
    "nombre": {
      "type": "string"
    },
    "apellidos": {
      "type": "string"
    },
    "nif": {
      "type": "string"
    },
    "direccionFiscal": {
      "type": "string"
    },
    "codigoPostal": {
      "type": "string"
    },
    "municipio": {
      "type": "string"
    },
    "provincia": {
      "type": "string"
    },
    "comunidadAutonoma": {
      "type": "string"
    },
    "fechaAltaAutonomo": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "epigrafeIAE": {
      "type": "string"
    },
    "descripcionActividad": {
      "type": "string"
    },
    "regimenIVA": {
      "type": "string",
      "enum": [
        "GENERAL",
        "RECARGO_EQUIVALENCIA",
        "EXENTO",
        "SIMPLIFICADO"
      ]
    },
    "userType": {
      "type": "string",
      "enum": [
        "AUTONOMO",
        "EMPRESA"
      ]
    }
  }
}