openapi: 3.2.0 info: title: Santevet Sv Def Contrat Assurance API description: '' version: 0.0.0 servers: - url: / description: '' security: - apiKey: [] tags: - name: SvDefContratAssurance paths: /insurances: parameters: [] get: operationId: getSvDefContratAssuranceCollection tags: - SvDefContratAssurance responses: '200': description: SvDefContratAssurance collection content: application/json: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' application/ld+json: schema: type: object properties: hydra:member: type: array items: $ref: '#/components/schemas/SvDefContratAssurance.jsonld-insurances_get_options_get' hydra:totalItems: type: integer minimum: 0 hydra:view: type: object properties: '@id': type: string format: iri-reference '@type': type: string hydra:first: type: string format: iri-reference hydra:last: type: string format: iri-reference hydra:previous: type: string format: iri-reference hydra:next: type: string format: iri-reference example: '@id': string type: string hydra:first: string hydra:last: string hydra:previous: string hydra:next: string hydra:search: type: object properties: '@type': type: string hydra:template: type: string hydra:variableRepresentation: type: string hydra:mapping: type: array items: type: object properties: '@type': type: string variable: type: string property: type: - string - 'null' required: type: boolean required: - hydra:member application/xml: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' text/xml: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' summary: Retrieves the collection of SvDefContratAssurance resources. description: Retrieves the collection of SvDefContratAssurance resources. parameters: - name: id in: query description: '' required: false deprecated: false allowEmptyValue: true schema: type: integer style: form explode: false allowReserved: false - name: id[] in: query description: '' required: false deprecated: false allowEmptyValue: true schema: type: array items: type: integer style: form explode: true allowReserved: false deprecated: false /insurances/{id}: parameters: [] get: operationId: getSvDefContratAssuranceItem tags: - SvDefContratAssurance responses: '200': description: SvDefContratAssurance resource content: application/json: schema: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' application/ld+json: schema: $ref: '#/components/schemas/SvDefContratAssurance.jsonld-insurances_get_options_get' application/xml: schema: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' text/xml: schema: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' '404': description: Resource not found summary: Retrieves a SvDefContratAssurance resource. description: Retrieves a SvDefContratAssurance resource. parameters: - name: id in: path description: Resource identifier required: true deprecated: false allowEmptyValue: false schema: type: string style: simple explode: false allowReserved: false deprecated: false /species/{id}/rates: parameters: [] get: operationId: get_rates_by_speciesSvDefContratAssuranceCollection tags: - SvDefContratAssurance responses: '200': description: SvDefContratAssurance collection content: application/json: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' application/ld+json: schema: type: object properties: hydra:member: type: array items: $ref: '#/components/schemas/SvDefContratAssurance.jsonld-insurances_get_options_get' hydra:totalItems: type: integer minimum: 0 hydra:view: type: object properties: '@id': type: string format: iri-reference '@type': type: string hydra:first: type: string format: iri-reference hydra:last: type: string format: iri-reference hydra:previous: type: string format: iri-reference hydra:next: type: string format: iri-reference example: '@id': string type: string hydra:first: string hydra:last: string hydra:previous: string hydra:next: string hydra:search: type: object properties: '@type': type: string hydra:template: type: string hydra:variableRepresentation: type: string hydra:mapping: type: array items: type: object properties: '@type': type: string variable: type: string property: type: - string - 'null' required: type: boolean required: - hydra:member application/xml: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' text/xml: schema: type: array items: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' summary: Retrieves the collection of SvDefContratAssurance resources. description: Retrieves the collection of SvDefContratAssurance resources. parameters: - name: id in: query description: '' required: false deprecated: false allowEmptyValue: true schema: type: integer style: form explode: false allowReserved: false - name: id[] in: query description: '' required: false deprecated: false allowEmptyValue: true schema: type: array items: type: integer style: form explode: true allowReserved: false deprecated: false components: schemas: ValeurChamp.jsonld-insurances_get_options_get: type: object description: '' properties: '@context': readOnly: true oneOf: - type: string - type: object properties: '@vocab': type: string hydra: type: string enum: - http://www.w3.org/ns/hydra/core# required: - '@vocab' - hydra additionalProperties: true '@id': readOnly: true type: string '@type': readOnly: true type: string SvDefOptionAppliqueeAuDefContrat-insurances_get_options_get: type: object description: Class SvDefOptionAppliqueeAuDefContrat properties: id: readOnly: true type: integer amount: type: number additional_annual_upper_limit: type: - number - 'null' required: type: boolean excluded_options: type: - string - 'null' option: $ref: '#/components/schemas/SvDefOption-insurances_get_options_get' rate: $ref: '#/components/schemas/SvDefContratAssurance-insurances_get_options_get' ValeurChamp-insurances_get_options_get: type: object description: '' SvDefOptionAppliqueeAuDefContrat.jsonld-insurances_get_options_get: type: object description: Class SvDefOptionAppliqueeAuDefContrat properties: '@context': readOnly: true oneOf: - type: string - type: object properties: '@vocab': type: string hydra: type: string enum: - http://www.w3.org/ns/hydra/core# required: - '@vocab' - hydra additionalProperties: true '@id': readOnly: true type: string '@type': readOnly: true type: string id: readOnly: true type: integer amount: type: number additional_annual_upper_limit: type: - number - 'null' required: type: boolean excluded_options: type: - string - 'null' option: $ref: '#/components/schemas/SvDefOption.jsonld-insurances_get_options_get' rate: $ref: '#/components/schemas/SvDefContratAssurance.jsonld-insurances_get_options_get' TypeOption-insurances_get_options_get: type: object description: Class TypeOption properties: id: readOnly: true type: integer name: type: string translations: readOnly: true anyOf: - $ref: '#/components/schemas/ValeurChamp-insurances_get_options_get' SvDefContratAssurance-insurances_get_options_get: type: object description: SvDefContratAssurance properties: id: readOnly: true type: integer name: type: string contract_duration: type: - integer - 'null' support_rate: type: number excess: type: string annual_excess: type: number illness_waiting_period: type: integer accident_waiting_period: type: integer vaccination_waiting_period: type: integer surgery_waiting_period: type: integer annual_upper_limit: type: - number - 'null' accident_annual_upper_limit: type: - number - 'null' illness_annual_upper_limit: type: - number - 'null' doghouse_annual_upper_limit: type: string prevention_annual_upper_limit: type: number application_fee: type: number illness_acceptance: type: boolean accident_acceptance: type: boolean prevention_pack_acceptance: type: boolean vaccination_acceptance: type: boolean death_acceptance: type: boolean surgery_acceptance: type: boolean is_freemium: type: boolean death_compensation_amount: type: number end_of_life_compensation_amount: type: number display_order: type: - integer - 'null' color_code: type: - string - 'null' def_options_appliquee_aux_def_contrats: type: array items: $ref: '#/components/schemas/SvDefOptionAppliqueeAuDefContrat-insurances_get_options_get' SvDefOption-insurances_get_options_get: type: object description: '' properties: id: readOnly: true type: integer name: type: string display_order: type: - integer - 'null' type_option: anyOf: - $ref: '#/components/schemas/TypeOption-insurances_get_options_get' TypeOption.jsonld-insurances_get_options_get: type: object description: Class TypeOption properties: '@context': readOnly: true oneOf: - type: string - type: object properties: '@vocab': type: string hydra: type: string enum: - http://www.w3.org/ns/hydra/core# required: - '@vocab' - hydra additionalProperties: true '@id': readOnly: true type: string '@type': readOnly: true type: string id: readOnly: true type: integer name: type: string translations: readOnly: true anyOf: - $ref: '#/components/schemas/ValeurChamp.jsonld-insurances_get_options_get' SvDefOption.jsonld-insurances_get_options_get: type: object description: '' properties: '@context': readOnly: true oneOf: - type: string - type: object properties: '@vocab': type: string hydra: type: string enum: - http://www.w3.org/ns/hydra/core# required: - '@vocab' - hydra additionalProperties: true '@id': readOnly: true type: string '@type': readOnly: true type: string id: readOnly: true type: integer name: type: string display_order: type: - integer - 'null' type_option: anyOf: - $ref: '#/components/schemas/TypeOption.jsonld-insurances_get_options_get' SvDefContratAssurance.jsonld-insurances_get_options_get: type: object description: SvDefContratAssurance properties: '@id': readOnly: true type: string '@type': readOnly: true type: string '@context': readOnly: true oneOf: - type: string - type: object properties: '@vocab': type: string hydra: type: string enum: - http://www.w3.org/ns/hydra/core# required: - '@vocab' - hydra additionalProperties: true id: readOnly: true type: integer name: type: string contract_duration: type: - integer - 'null' support_rate: type: number excess: type: string annual_excess: type: number illness_waiting_period: type: integer accident_waiting_period: type: integer vaccination_waiting_period: type: integer surgery_waiting_period: type: integer annual_upper_limit: type: - number - 'null' accident_annual_upper_limit: type: - number - 'null' illness_annual_upper_limit: type: - number - 'null' doghouse_annual_upper_limit: type: string prevention_annual_upper_limit: type: number application_fee: type: number illness_acceptance: type: boolean accident_acceptance: type: boolean prevention_pack_acceptance: type: boolean vaccination_acceptance: type: boolean death_acceptance: type: boolean surgery_acceptance: type: boolean is_freemium: type: boolean death_compensation_amount: type: number end_of_life_compensation_amount: type: number display_order: type: - integer - 'null' color_code: type: - string - 'null' def_options_appliquee_aux_def_contrats: type: array items: $ref: '#/components/schemas/SvDefOptionAppliqueeAuDefContrat.jsonld-insurances_get_options_get' securitySchemes: apiKey: type: apiKey description: Value for the Authorization header parameter. name: Authorization in: header