Variable $EnderecoFindOneResultViewConst

$EnderecoFindOneResultView: {
    properties: {
        bairro: { description: "Bairro."; nullable: false; type: "string" };
        cep: {
            description: "Código postal (CEP).";
            nullable: false;
            type: "string";
            "x-unispec-constraint-cep": true;
        };
        cidade: {
            allOf: readonly [
                { $ref: "#/components/schemas/CidadeFindOneResultView" },
            ];
            description: "Visão FindOne de uma cidade.";
            kind: "type";
            nullable: false;
        };
        complemento: {
            description: "Complemento.";
            nullable: true;
            type: "string";
        };
        dateCreated: {
            $id: "ladesa://schemas/v3/generics/date_time.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da criação do registro.";
            format: "date-time";
            nullable: false;
            type: "string";
        };
        dateDeleted: {
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da exclusão do registro.";
            format: "date-time";
            nullable: true;
            type: "string";
        };
        dateUpdated: {
            $id: "ladesa://schemas/v3/generics/date_time.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da alteração do registro.";
            format: "date-time";
            nullable: false;
            type: "string";
        };
        id: {
            $id: "ladesa://schemas/v3/generics/uuid.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Identificador do registro (uuid).";
            format: "uuid";
            nullable: false;
            type: "string";
        };
        logradouro: {
            description: "Logradouro.";
            nullable: false;
            type: "string";
        };
        numero: {
            description: "Número.";
            maximum: 99999;
            minimum: 0;
            nullable: false;
            type: "integer";
        };
        pontoReferencia: {
            description: "Ponto de referência.";
            nullable: true;
            type: "string";
        };
    };
    required: readonly [
        "id",
        "cep",
        "logradouro",
        "numero",
        "bairro",
        "complemento",
        "pontoReferencia",
        "cidade",
        "dateCreated",
        "dateUpdated",
        "dateDeleted",
    ];
    type: "object";
} = ...

Type declaration

  • Readonlyproperties: {
        bairro: { description: "Bairro."; nullable: false; type: "string" };
        cep: {
            description: "Código postal (CEP).";
            nullable: false;
            type: "string";
            "x-unispec-constraint-cep": true;
        };
        cidade: {
            allOf: readonly [
                { $ref: "#/components/schemas/CidadeFindOneResultView" },
            ];
            description: "Visão FindOne de uma cidade.";
            kind: "type";
            nullable: false;
        };
        complemento: {
            description: "Complemento.";
            nullable: true;
            type: "string";
        };
        dateCreated: {
            $id: "ladesa://schemas/v3/generics/date_time.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da criação do registro.";
            format: "date-time";
            nullable: false;
            type: "string";
        };
        dateDeleted: {
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da exclusão do registro.";
            format: "date-time";
            nullable: true;
            type: "string";
        };
        dateUpdated: {
            $id: "ladesa://schemas/v3/generics/date_time.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Data e hora da alteração do registro.";
            format: "date-time";
            nullable: false;
            type: "string";
        };
        id: {
            $id: "ladesa://schemas/v3/generics/uuid.json";
            $schema: "https://json-schema.org/draft/2020-12/schema";
            description: "Identificador do registro (uuid).";
            format: "uuid";
            nullable: false;
            type: "string";
        };
        logradouro: { description: "Logradouro."; nullable: false; type: "string" };
        numero: {
            description: "Número.";
            maximum: 99999;
            minimum: 0;
            nullable: false;
            type: "integer";
        };
        pontoReferencia: {
            description: "Ponto de referência.";
            nullable: true;
            type: "string";
        };
    }
  • Readonlyrequired: readonly [
        "id",
        "cep",
        "logradouro",
        "numero",
        "bairro",
        "complemento",
        "pontoReferencia",
        "cidade",
        "dateCreated",
        "dateUpdated",
        "dateDeleted",
    ]
  • Readonlytype: "object"