> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tic.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get property rights

> Gets the property rights for a property based on it's UUID

Gets all property rights (rättigheter). This endpoint is a direct order endpoint meaning it will incur costs on your account based on the fee schedule from Lantmäteriet. This endpoint is only available to customers that
passed certain requirements (purpose test).

Each request is cached for 24 hours so making subsequent request will not incur additional costs. If you want to test without causing any costs you can use the property uuid: 909a6a85-299b-90ec-e040-ed8f66444c3f which
is the property UMEÅ AMERIKA 1:1.

The endpoint contains specific throttling.

Use the querystring includeXml to also retrieve the raw xml data that was handed over from Lantmäteriet.


## OpenAPI

````yaml get /datasets/properties/se/{uuid}/rights
openapi: 3.0.4
info:
  title: TIC API
  description: ''
  version: v1
servers:
  - url: https://api.tic.io/
security:
  - ApiKey: []
tags:
  - name: BolagsverketStatistics
  - name: Companies
  - name: Companies_SE_
  - name: DocumentDelivery
  - name: EuropeanCommission
  - name: FinancialDocuments
  - name: Finansinspektionen
  - name: Free
  - name: ICA
  - name: ICAStatistics
  - name: Lists
  - name: Media
  - name: Persons
  - name: Persons_SE_
  - name: Properties_SE_
  - name: PTSPortings
  - name: Reseller
  - name: SearchBankruptciesReports
  - name: SearchCompanies
  - name: SearchCompaniesReports
  - name: SearchCompanyWorkplaces
  - name: SearchPerson
  - name: SearchProperties_SE_
  - name: SearchVehicles
  - name: TeamDocumentOrders
  - name: Teams
  - name: User
  - name: Vehicles_SE_
  - name: WatchLists
paths:
  /datasets/properties/se/{uuid}/rights:
    get:
      tags:
        - Properties_SE_
      summary: Get property rights
      description: Gets the property rights for a property based on it's UUID
      operationId: GetPropertyRights
      parameters:
        - name: uuid
          in: path
          description: The unique identifier for the property
          required: true
          schema:
            type: string
        - name: includeXml
          in: query
          description: Set to true if you want the raw XML to be included
          schema:
            type: boolean
            default: false
        - name: includeData
          in: query
          description: >-
            Specify if you only want partial information use comma
            basinformation,atgard,rattsforhallande,historik,geometri,total
            (default)
          schema:
            type: string
            default: total
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetResponseTypePropertyDirectOrder
components:
  schemas:
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetResponseTypePropertyDirectOrder:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetResponseType
        xml:
          type: string
          nullable: true
        cost:
          type: number
          format: double
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetResponseType:
      required:
        - id
      type: object
      properties:
        rattighetMember:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetMemberType
          nullable: true
          readOnly: true
        rattighetMemberSpecified:
          type: boolean
          readOnly: true
        aggregationTypeValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_AggregationType
        aggregationTypeValueSpecified:
          type: boolean
        aggregationType:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_AggregationType
        boundedBy:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_BoundingShapeType
        description:
          type: string
          nullable: true
        name:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_CodeType
          nullable: true
          readOnly: true
        nameSpecified:
          type: boolean
          readOnly: true
        id:
          type: string
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetMemberType:
      required:
        - rattighet
      type: object
      properties:
        rattighet:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetType
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Gml_Schemas_AggregationType:
      enum:
        - set
        - bag
        - sequence
        - array
        - record
        - table
      type: string
    Ormeo_Library_Lantmateriet2_Gml_Schemas_BoundingShapeType:
      required:
        - envelope
      type: object
      properties:
        envelope:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_EnvelopeType
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Gml_Schemas_CodeType:
      type: object
      properties:
        value:
          type: string
          nullable: true
        codeSpace:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetType:
      required:
        - id
        - objektidentitet
      type: object
      properties:
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        rattighetsattribut:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsattributType
        pagaendeRattighetsarende:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_PagaendeRattighetsarendeType
          nullable: true
          readOnly: true
        pagaendeRattighetsarendeSpecified:
          type: boolean
          readOnly: true
        sammankopplasMed:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsreferensType
          nullable: true
          readOnly: true
        sammankopplasMedSpecified:
          type: boolean
          readOnly: true
        rattighetsatgard:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsatgardType
          nullable: true
          readOnly: true
        rattighetsatgardSpecified:
          type: boolean
          readOnly: true
        rattsforhallandeforandring:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeforandringType
          nullable: true
          readOnly: true
        rattsforhallandeforandringSpecified:
          type: boolean
          readOnly: true
        rattsforhallande:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeType
          nullable: true
          readOnly: true
        rattsforhallandeSpecified:
          type: boolean
          readOnly: true
        rattighetshistorik:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshistorikType
          nullable: true
          readOnly: true
        rattighetshistorikSpecified:
          type: boolean
          readOnly: true
        yta:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_AbstractGeometryType
          nullable: true
          readOnly: true
        ytaSpecified:
          type: boolean
          readOnly: true
        boundedBy:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_BoundingShapeType
        description:
          type: string
          nullable: true
        name:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_CodeType
          nullable: true
          readOnly: true
        nameSpecified:
          type: boolean
          readOnly: true
        id:
          type: string
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Gml_Schemas_EnvelopeType:
      required:
        - lowerCorner
        - upperCorner
      type: object
      properties:
        lowerCorner:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_DirectPositionType
          readOnly: true
        upperCorner:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_DirectPositionType
          readOnly: true
        srsName:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsattributType:
      required:
        - berorkretsKanVaraOfullstandig
        - beteckning
        - lansbokstav
        - objektidentitet
        - objektversion
        - olokaliseradRattighet
        - rattighetsandamal
        - rattighetstyp
        - redovisasUtanGeometri
        - status
      type: object
      properties:
        lansbokstav:
          type: string
        beteckning:
          type: string
        rattighetstyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetstypType
        status:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_StatusType
        berorkretsKanVaraOfullstandig:
          type: boolean
        rattighetsandamal:
          type: string
        bildningsatgardValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_FastighetsatgardType
        bildningsatgardValueSpecified:
          type: boolean
        bildningsatgard:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_FastighetsatgardType
        bildningsatgardsdatumValue:
          type: string
          format: date-time
        bildningsatgardsdatumValueSpecified:
          type: boolean
        bildningsatgardsdatum:
          type: string
          format: date-time
          nullable: true
        avregistreringsorsakValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_AvregistreringsorsakType
        avregistreringsorsakValueSpecified:
          type: boolean
        avregistreringsorsak:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_AvregistreringsorsakType
        senasteAndringAllmannaDelenValue:
          type: string
          format: date-time
        senasteAndringAllmannaDelenValueSpecified:
          type: boolean
        senasteAndringAllmannaDelen:
          type: string
          format: date-time
          nullable: true
        tidsbegransning:
          type: string
          nullable: true
        fastighetstillbehor:
          type: string
          nullable: true
        rattighetsanmarkning:
          type: string
          nullable: true
        rattighetsbeskrivning:
          type: string
          nullable: true
        olokaliseradRattighet:
          type: boolean
        redovisasUtanGeometri:
          type: boolean
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_PagaendeRattighetsarendeType:
      required:
        - andringstyp
        - arendeidentitet
        - flaggdatum
        - flaggniva
        - kontor
        - objektidentitet
        - objektversion
      type: object
      properties:
        kontor:
          type: string
        arendeidentitet:
          type: string
        flaggniva:
          type: integer
          format: int32
        flaggdatum:
          type: string
          format: date-time
        andringstyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_AndringstypType
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsreferensType:
      required:
        - objektidentitet
      type: object
      properties:
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        rattsforhallandetypValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandetypType
        rattsforhallandetypValueSpecified:
          type: boolean
        rattsforhallandetyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandetypType
        lansbokstav:
          type: string
          nullable: true
        beteckning:
          type: string
          nullable: true
        typValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetstypType
        typValueSpecified:
          type: boolean
        typ:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetstypType
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsatgardType:
      required:
        - objektidentitet
        - objektversion
        - rattighetsforandring
      type: object
      properties:
        lopnummerValue:
          type: integer
          format: int32
        lopnummerValueSpecified:
          type: boolean
        lopnummer:
          type: integer
          format: int32
          nullable: true
        rattighetsforandring:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsforandringType
        aktbeteckning:
          type: string
          nullable: true
        atgardstypValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_FastighetsatgardType
        atgardstypValueSpecified:
          type: boolean
        atgardstyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_FastighetsatgardType
        atgardsdatumValue:
          type: string
          format: date-time
        atgardsdatumValueSpecified:
          type: boolean
        atgardsdatum:
          type: string
          format: date-time
          nullable: true
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeforandringType:
      required:
        - avserRattighetsatgard
        - avserRattsforhallande
        - objektidentitet
        - objektversion
      type: object
      properties:
        lopnummerValue:
          type: integer
          format: int32
        lopnummerValueSpecified:
          type: boolean
        lopnummer:
          type: integer
          format: int32
          nullable: true
        rattsforhallandeforandringstypValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeforandringtypType
        rattsforhallandeforandringstypValueSpecified:
          type: boolean
        rattsforhallandeforandringstyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeforandringtypType
        avserRattsforhallande:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        avserRattighetsatgard:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeType:
      required:
        - aktuelltRattsforhallande
        - objektidentitet
        - objektversion
        - rattsforhallandetyp
      type: object
      properties:
        lopnummerValue:
          type: integer
          format: int32
        lopnummerValueSpecified:
          type: boolean
        lopnummer:
          type: integer
          format: int32
          nullable: true
        rattsforhallandetyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandetypType
        aktuelltRattsforhallande:
          type: boolean
        lopnummerIdentisktLikaMedValue:
          type: integer
          format: int32
        lopnummerIdentisktLikaMedValueSpecified:
          type: boolean
        lopnummerIdentisktLikaMed:
          type: integer
          format: int32
          nullable: true
        avserOvrigRattighetshavare:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_OvrigRattighetshavareType
        avserGemensamhetsanlaggning:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_GemensamhetsanlaggningreferensType
        avserRegisterenhet:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RegisterenhetsreferensType
        identisktLikaMedAvtalsservitut:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
          nullable: true
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshistorikType:
      required:
        - objektidentitet
        - objektversion
        - rattighetshistoriktyp
        - rattighetsreferens
      type: object
      properties:
        lopnummerValue:
          type: integer
          format: int32
        lopnummerValueSpecified:
          type: boolean
        lopnummer:
          type: integer
          format: int32
          nullable: true
        rattighetshistoriktyp:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshistoriktypType
        rattighetsreferens:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsreferensType
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Gml_Schemas_AbstractGeometryType:
      required:
        - id
      type: object
      properties:
        srsName:
          type: string
          nullable: true
        srsDimension:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        name:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Gml_Schemas_CodeType
          nullable: true
          readOnly: true
        nameSpecified:
          type: boolean
          readOnly: true
        id:
          type: string
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Gml_Schemas_DirectPositionType:
      type: object
      properties:
        value:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetstypType:
      enum:
        - avtalsservitut
        - ledningsrätt
        - officialnyttjanderätt
        - officialservitut
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_StatusType:
      enum:
        - levande
        - avregistrerad
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_FastighetsatgardType:
      enum:
        - anläggningsförrättningServitutsåtgärd
        - anläggningsåtgärd
        - annanÅtgärd
        - anslutningEnligtAnläggningslagen
        - arealavmätning
        - arealkomplettering
        - arealutredning
        - avÅlderBestående
        - avlösning
        - avstyckning
        - avstyckningLagaSkifte
        - avstyckningServitutsutbrytning
        - avsöndring
        - avvittring
        - beslutOmFastighetsindelning
        - beslutOmFörsamlingsindelning
        - beslutOmFörsamlingsindelningEnligtÄldreLagstiftning
        - beslutOmÄndringIKommunalIndelningISambandMedFastighetsbildning
        - delning
        - ensittarlösen
        - enskifte
        - evlFörrättning
        - expropriation
        - expropriationsmätning
        - fastighetsbestämning
        - fastighetsreglering
        - fastighetsregleringAndelsöverföring
        - fastighetsregleringServitutsåtgärd
        - förrättningEnligtEnsittarlagen
        - förrättningEnligtLagOmVissaGemensamhetsanläggningar
        - gränsbestämning
        - gränsutmärkningFullföljd
        - hemmansklyvning
        - indelningsändring
        - infördITomtboken
        - inlösen
        - inställdÅtgärdEllerFörrättning
        - klyvning
        - lagaSkifte
        - ledningsrättsåtgärd
        - legaliseradSämjedelning
        - legaliseratArealfång
        - legaliseringÄganderättsutredning
        - legaliseringsförrättning
        - mantalssättning
        - mätning
        - nybyggnadskarta
        - nymätning
        - omprövningEnligtFörvaltningslagen
        - registreringsbeslut
        - rågångsåtgärd
        - rättelseEnligtFörvaltningslagen
        - rättelseKomplettering
        - sammanföring
        - sammanläggning
        - servitutsutbrytning
        - servitutsåtgärd
        - skatteläggning
        - storskifte
        - syneförrättning
        - säkerställandeAvGränsmärke
        - särskildGränsutmärkning
        - tomtmätning
        - undanröjdÅtgärd
        - uteslutning
        - utredning
        - vägförrättning
        - åbodelning
        - återställandeAvGränsmärke
        - äganderättsutredning
        - ägomätning
        - ägostyckning
        - ägoutbyte
        - ändratAndelstalEnligtAnläggningslagen
        - ändringIFörsamlingsindelningen
        - överenskommelseEnligtAnläggningslagen
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_AvregistreringsorsakType:
      enum:
        - sammanslagen
        - uppdelad
        - upphävdUpphörd
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_AndringstypType:
      enum:
        - berörkrets
        - grundinformation
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandetypType:
      enum:
        - förmån
        - last
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsforandringType:
      enum:
        - berörkretsÄndrad
        - endastFörändringarInomBefintligBerörkrets
        - rättighetenHarUpphörtUpphävtsAvregistrerats
        - rättighetensOmfångLägeÄndrat
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandeforandringtypType:
      enum:
        - bort
        - till
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_OvrigRattighetshavareType:
      required:
        - klartext
        - objektidentitet
        - objektversion
        - rattighetshavarekategori
      type: object
      properties:
        rattighetshavarekategori:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshavareType
        klartext:
          type: string
        rattsforhallandereferens:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandereferensType
          nullable: true
          readOnly: true
        rattsforhallandereferensSpecified:
          type: boolean
          readOnly: true
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        objektversion:
          type: integer
          format: int32
        versionGiltigFranValue:
          type: string
          format: date-time
        versionGiltigFranValueSpecified:
          type: boolean
        versionGiltigFran:
          type: string
          format: date-time
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_GemensamhetsanlaggningreferensType:
      required:
        - objektidentitet
      type: object
      properties:
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        beteckning:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RegisterenhetsreferensType:
      required:
        - objektidentitet
      type: object
      properties:
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        beteckning:
          type: string
          nullable: true
        typValue:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RegisterenhetstypType
        typValueSpecified:
          type: boolean
        typ:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RegisterenhetstypType
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshistoriktypType:
      enum:
        - sammanslagen
        - uppdelad
        - ursprung
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetshavareType:
      enum:
        - klartextenhet
        - ledningshavare
        - nyttjanderättshavare
      type: string
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattsforhallandereferensType:
      required:
        - objektidentitet
        - rattighetsreferens
      type: object
      properties:
        objektidentitet:
          pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}'
          type: string
        rattighetsreferens:
          $ref: >-
            #/components/schemas/Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RattighetsreferensType
      additionalProperties: false
    Ormeo_Library_Lantmateriet2_Rattighet_Schemas_RegisterenhetstypType:
      enum:
        - fastighet
        - samfällighet
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````