Skip to content

Instantly share code, notes, and snippets.

@iterion
Last active December 9, 2022 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iterion/68868726b2edd719cef0f2ad7dd24653 to your computer and use it in GitHub Desktop.
Save iterion/68868726b2edd719cef0f2ad7dd24653 to your computer and use it in GitHub Desktop.
Remote OpenAPI Diff
4a5,44
> "ContractDetails": {
> "title": "ContractDetails",
> "nullable": true,
> "description": "Contract information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `contract_details` as path parameters."
> },
> "EmergencyContactDetails": {
> "title": "EmergencyContactDetails",
> "nullable": true,
> "description": "Emergency contact information. Its properties may vary depending on the country."
> },
> "PersonalDetails": {
> "description": "Personal details information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `personal_details` as path parameters.",
> "title": "PersonalDetails",
> "nullable": true
> },
> "AddressDetails": {
> "title": "AddressDetails",
> "description": "Home address information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `address_details` as path parameters.",
> "nullable": true
> },
> "BillingAddressDetails": {
> "title": "BillingAddressDetails",
> "description": "Billing address information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `billing_address_details` as path parameters.",
> "nullable": true
> },
> "AdministrativeDetails": {
> "title": "AdministrativeDetails",
> "description": "Administrative information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `administrative_details` as path parameters.",
> "nullable": true
> },
> "BankAccountDetails": {
> "title": "BankAccountDetails",
> "description": "Bank account information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `bank_account_details` as path parameters."
> },
> "LocalDetails": {
> "title": "LocalDetails"
> },
> "Validations": {
> "title": "Validations"
> },
188,189c228
< "format": "datetime",
< "type": "string",
---
> "type": "date-time",
209a249
> "items": { "type": "string" },
289,291c329
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/Validations"
346,348c384
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/LocalDetails"
502,505c538
< "description": "Home address information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/AddressDetails"
508,511c541
< "description": "Administrative information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/AdministrativeDetails"
525,528c555
< "description": "Billing address information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/BillingAddressDetails"
536,539c563
< "description": "Contract information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/ContractDetails"
550,553c574
< "description": "Emergency contact information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/EmergencyContactDetails"
582,585c603
< "description": "Personal details information. Its properties may vary depending on the country.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/PersonalDetails"
1064a1083,1093
> "data": {
> "$ref": "#/components/schemas/EmploymentData"
> }
> },
> "title": "EmploymentResponse",
> "type": "object",
> "x-struct": null,
> "x-validate": null
> },
> "EmploymentData": {
> "properties": {
1069c1098
< "title": "EmploymentResponse",
---
> "title": "EmploymentData",
1166a1196
> "items": { "type": "string" },
1221a1252
> "items": { "type": "string" },
1318a1350
> "nullable": true,
1407a1440,1447
> "enum": [
> "approved",
> "cancelled",
> "declined",
> "requested",
> "taken",
> "cancel_requested"
> ],
1694,1697c1734
< "description": "Home address information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `address_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/AddressDetails"
1700,1703c1737
< "description": "Administrative information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `administrative_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/AdministrativeDetails"
1706,1709c1740
< "description": "Bank account information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `bank_account_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/BankAccountDetails"
1712,1715c1743
< "description": "Billing address information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `billing_address_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/BillingAddressDetails"
1723,1726c1751
< "description": "Contract information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `contract_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/ContractDetails"
1732,1735c1757
< "description": "Emergency contact information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `emergency_contact_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/EmergencyContactDetails"
1754,1757c1776
< "description": "Personal details information. As its properties may vary depending on the country,\n you must query the [Show form schema](https://gateway.remote.com/eor/v1/docs/openapi.html#tag/Countries/operation/get_show_form_country) endpoint\n passing the country code and `personal_details` as path parameters.",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/PersonalDetails"
1796a1816,1825
> "properties": {
> "name": {
> "type": "string",
> "x-struct": null,
> "x-validate": null
> },
> "slug": {
> "$ref": "#/components/schemas/Slug"
> }
> },
1909d1937
< "format": "datetime",
1912c1940
< "type": "string",
---
> "type": "date-time",
1922,1935c1950
< "allOf": [
< {
< "$ref": "#/components/schemas/MinimalCompany"
< }
< ],
< "example": {
< "name": "",
< "slug": "663e0b79-c893-45ff-a1b2-f6dcabc098b5"
< },
< "nullable": true,
< "title": "MaybeMinimalCompany",
< "type": "object",
< "x-struct": null,
< "x-validate": null
---
> "$ref": "#/components/schemas/MaybeMinimalCompany"
2457d2471
< "format": "datetime",
2459c2473
< "type": "string",
---
> "type": "date-time",
4054c4068
< }
\ No newline at end of file
---
> }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment