{"components":{"schemas":{"UpsertRakenneInput":{"additionalProperties":false,"type":"object","properties":{"tekstiLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/UpdateLisatietoTekstiInput"}},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"vuosiPurku":{"nullable":true,"format":"int32","type":"integer"},"numeerisetLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/UpdateLisatietoNumeerinenInput"}},"lahde":{"nullable":true,"type":"string"},"omistaja":{"nullable":true,"type":"string"},"kuntoArvioPvm":{"nullable":true,"format":"date-time","type":"string"},"kuntoRakenneId":{"nullable":true,"format":"int32","type":"integer"},"vuosiKayttoonOtto":{"nullable":true,"format":"int32","type":"integer"},"ympTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"merkittavyysTulvaId":{"nullable":true,"format":"int32","type":"integer"},"rakenneId":{"nullable":true,"format":"int32","type":"integer"},"omistajaVesal":{"nullable":true,"type":"string"},"koordErTmPohj":{"nullable":true,"format":"int32","type":"integer"},"rakenneTyyppiTunnus":{"nullable":true,"type":"string"},"lisatieto":{"nullable":true,"type":"string"},"kaytosTulvaTilanne":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"nimi":{"type":"string"},"vuosiPoisto":{"nullable":true,"format":"int32","type":"integer"},"vuosiRakennus":{"nullable":true,"format":"int32","type":"integer"},"koordTarkkuus":{"nullable":true,"format":"int32","type":"integer"},"koordLahdeId":{"nullable":true,"format":"int32","type":"integer"},"koordErTmIta":{"nullable":true,"format":"int32","type":"integer"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"valintaLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/UpdateLisatietoValintaInput"}},"timeRead":{"format":"date-time","type":"string"},"ylaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"kunnossaPitaja":{"nullable":true,"type":"string"},"tilaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"valtionKunnossapitovastuuId":{"format":"int32","type":"integer"},"kayttaja":{"nullable":true,"type":"string"},"vesalNro":{"nullable":true,"type":"string"},"perusteUSPAAsiaId":{"nullable":true,"format":"int32","type":"integer"},"hKuntaId":{"nullable":true,"format":"int32","type":"integer"}}},"UpdateLisatietoValintaInput":{"additionalProperties":false,"type":"object","properties":{"valintaTunnus":{"type":"string"},"rakenneId":{"format":"int32","type":"integer"},"lisatietoTyyppiTunnus":{"type":"string"}}},"CreateHankeOutput":{"additionalProperties":false,"type":"object","properties":{"rakenteet":{"type":"array","items":{"$ref":"#/components/schemas/CreateRakenneOutput"}},"aikaMuutos":{"nullable":true,"format":"date-time","type":"string"},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"hyAsiaId":{"nullable":true,"format":"int32","type":"integer"},"lahde":{"nullable":true,"type":"string"},"poistettu":{"nullable":true,"format":"int32","type":"integer"},"kayttajaMuutos":{"nullable":true,"type":"string"},"konvertointi":{"nullable":true,"format":"int32","type":"integer"},"hankeTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"kayttajaLisays":{"nullable":true,"type":"string"},"tilaHankeId":{"nullable":true,"format":"int32","type":"integer"},"aikaLoppu":{"nullable":true,"format":"date-time","type":"string"},"korkeusJarjestelmaId":{"nullable":true,"format":"int32","type":"integer"},"lisatieto":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"hankeId":{"format":"int32","type":"integer"},"nimi":{"type":"string"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"aikaLisays":{"nullable":true,"format":"date-time","type":"string"},"arkistonumero":{"nullable":true,"type":"string"},"vuosiLoppu":{"nullable":true,"format":"int32","type":"integer"},"vuosiAlku":{"nullable":true,"format":"int32","type":"integer"},"henkiloVast":{"nullable":true,"type":"string"},"aikaAlku":{"nullable":true,"format":"date-time","type":"string"}}},"HankeOutput":{"additionalProperties":false,"type":"object","properties":{"rakenteet":{"type":"array","items":{"format":"int32","type":"integer"}},"aikaMuutos":{"nullable":true,"format":"date-time","type":"string"},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"hyAsiaId":{"nullable":true,"format":"int32","type":"integer"},"lahde":{"nullable":true,"type":"string"},"poistettu":{"nullable":true,"format":"int32","type":"integer"},"kayttajaMuutos":{"nullable":true,"type":"string"},"konvertointi":{"nullable":true,"format":"int32","type":"integer"},"hankeTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"kayttajaLisays":{"nullable":true,"type":"string"},"tilaHankeId":{"nullable":true,"format":"int32","type":"integer"},"aikaLoppu":{"nullable":true,"format":"date-time","type":"string"},"korkeusJarjestelmaId":{"nullable":true,"format":"int32","type":"integer"},"lisatieto":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"format":"int32","type":"integer"},"hankeId":{"format":"int32","type":"integer"},"nimi":{"nullable":true,"type":"string"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"aikaLisays":{"nullable":true,"format":"date-time","type":"string"},"arkistonumero":{"nullable":true,"type":"string"},"vuosiLoppu":{"nullable":true,"format":"int32","type":"integer"},"vuosiAlku":{"nullable":true,"format":"int32","type":"integer"},"henkiloVast":{"nullable":true,"type":"string"},"aikaAlku":{"nullable":true,"format":"date-time","type":"string"}}},"CreateLisatietoNumeerinenInput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"arvo":{"format":"double","type":"number"},"lisatietoTyyppiTunnus":{"type":"string"}}},"CreateLisatietoValintaInput":{"additionalProperties":false,"type":"object","properties":{"valintaTunnus":{"type":"string"},"rakenneId":{"format":"int32","type":"integer"},"lisatietoTyyppiTunnus":{"type":"string"}}},"HankeOutputODataPage":{"additionalProperties":false,"type":"object","required":["value"],"properties":{"@odata.nextLink":{"nullable":true,"type":"string"},"@odata.count":{"nullable":true,"format":"int32","type":"integer"},"@odata.context":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/HankeOutput"}}}},"LisatietoTekstiOutput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"teksti":{"type":"string"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"UpdateLisatietoNumeerinenInput":{"additionalProperties":false,"type":"object","properties":{"arvo":{"format":"double","type":"number"},"lisatietoTyyppiTunnus":{"type":"string"}}},"CreateHankeCommand":{"additionalProperties":false,"type":"object","properties":{"lisatieto":{"nullable":true,"type":"string"},"rakenteet":{"type":"array","items":{"$ref":"#/components/schemas/CreateRakenneInput"}},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"nimi":{"type":"string"},"kunnat":{"type":"array","items":{"format":"int32","type":"integer"}},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"hankeTyyppiTunnus":{"nullable":true,"type":"string"},"hyAsiaId":{"nullable":true,"format":"int32","type":"integer"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"lahde":{"nullable":true,"type":"string"},"paataViranomaiskasittely":{"nullable":true,"type":"boolean"},"arkistonumero":{"nullable":true,"type":"string"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"vuosiLoppu":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"vuosiAlku":{"nullable":true,"format":"int32","type":"integer"},"vesistoAlueet":{"type":"array","items":{"format":"int32","type":"integer"}},"henkiloVast":{"nullable":true,"type":"string"},"aikaLoppu":{"nullable":true,"format":"date-time","type":"string"},"hankeTilaId":{"nullable":true,"format":"int32","type":"integer"},"korkeusJarjestelmaId":{"nullable":true,"format":"int32","type":"integer"},"aikaAlku":{"nullable":true,"format":"date-time","type":"string"}}},"UpdateHankeCommand":{"additionalProperties":false,"type":"object","properties":{"rakenteet":{"type":"array","items":{"$ref":"#/components/schemas/UpsertRakenneInput"}},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"hankeTyyppiTunnus":{"nullable":true,"type":"string"},"hyAsiaId":{"nullable":true,"format":"int32","type":"integer"},"lahde":{"nullable":true,"type":"string"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"vesistoAlueet":{"type":"array","items":{"format":"int32","type":"integer"}},"aikaLoppu":{"nullable":true,"format":"date-time","type":"string"},"hankeTilaId":{"nullable":true,"format":"int32","type":"integer"},"korkeusJarjestelmaId":{"nullable":true,"format":"int32","type":"integer"},"lisatieto":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"nimi":{"type":"string"},"hankeId":{"format":"int32","readOnly":true,"type":"integer"},"kunnat":{"type":"array","items":{"format":"int32","type":"integer"}},"lisatietoJulkinen":{"nullable":true,"type":"string"},"timeRead":{"format":"date-time","type":"string"},"paataViranomaiskasittely":{"nullable":true,"type":"boolean"},"arkistonumero":{"nullable":true,"type":"string"},"vuosiLoppu":{"nullable":true,"format":"int32","type":"integer"},"vuosiAlku":{"nullable":true,"format":"int32","type":"integer"},"henkiloVast":{"nullable":true,"type":"string"},"aikaAlku":{"nullable":true,"format":"date-time","type":"string"}}},"RakenneTyyppiOutput":{"additionalProperties":false,"type":"object","properties":{"symboliId":{"nullable":true,"format":"int32","type":"integer"},"variReunaId":{"nullable":true,"format":"int32","type":"integer"},"nimiGis":{"nullable":true,"type":"string"},"nimi":{"nullable":true,"type":"string"},"rakenneTyyppiId":{"format":"int32","type":"integer"},"rakennePaaTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"julkaistaanOivaan":{"type":"boolean"},"nimiKartta":{"nullable":true,"type":"string"},"koko":{"nullable":true,"format":"int32","type":"integer"},"kuvaus":{"nullable":true,"type":"string"},"jarjNro":{"nullable":true,"format":"int32","type":"integer"}}},"CreateRakenneOutput":{"additionalProperties":false,"type":"object","properties":{"vuosiPurku":{"nullable":true,"format":"int32","type":"integer"},"kayttajaMuutos":{"nullable":true,"type":"string"},"omistaja":{"nullable":true,"type":"string"},"kuntoArvioPvm":{"nullable":true,"format":"date-time","type":"string"},"kuntoRakenneId":{"nullable":true,"format":"int32","type":"integer"},"vuosiKayttoonOtto":{"nullable":true,"format":"int32","type":"integer"},"ympTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"vVesimuodostumaId":{"nullable":true,"format":"int32","type":"integer"},"koordErLat":{"nullable":true,"type":"string"},"omistajaVesal":{"nullable":true,"type":"string"},"koordErTmPohj":{"nullable":true,"format":"int32","type":"integer"},"lisatieto":{"nullable":true,"type":"string"},"kaytosTulvaTilanne":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"nimi":{"type":"string"},"vuosiPoisto":{"nullable":true,"format":"int32","type":"integer"},"koordLong":{"nullable":true,"type":"string"},"vuosiRakennus":{"nullable":true,"format":"int32","type":"integer"},"koordTarkkuus":{"nullable":true,"format":"int32","type":"integer"},"koordLahdeId":{"nullable":true,"format":"int32","type":"integer"},"uUomaId":{"nullable":true,"format":"int32","type":"integer"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"ylaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"koordLat":{"nullable":true,"type":"string"},"jJarviId":{"nullable":true,"format":"int32","type":"integer"},"valtionKunnossapitovastuuId":{"format":"int32","type":"integer"},"kayttaja":{"nullable":true,"type":"string"},"koordsto":{"nullable":true,"type":"string"},"tekstiLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoTekstiOutput"}},"aikaMuutos":{"nullable":true,"format":"date-time","type":"string"},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"numeerisetLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoNumeerinenOutput"}},"lahde":{"nullable":true,"type":"string"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"rakenneTyyppiId":{"format":"int32","type":"integer"},"merkittavyysTulvaId":{"nullable":true,"format":"int32","type":"integer"},"rakenneId":{"format":"int32","type":"integer"},"kayttajaLisays":{"type":"string"},"koordPkIta":{"nullable":true,"format":"int32","type":"integer"},"koordErLong":{"nullable":true,"type":"string"},"koordYkIta":{"nullable":true,"format":"int32","type":"integer"},"koordPkPohj":{"nullable":true,"format":"int32","type":"integer"},"koordYkPohj":{"nullable":true,"format":"int32","type":"integer"},"koordErTmIta":{"nullable":true,"format":"int32","type":"integer"},"aikaLisays":{"format":"date-time","type":"string"},"valintaLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoValintaOutput"}},"hVesalId":{"nullable":true,"format":"int32","type":"integer"},"geojson":{"nullable":true,"type":"string"},"kunnossaPitaja":{"nullable":true,"type":"string"},"tilaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"hKuntaId":{"nullable":true,"format":"int32","type":"integer"},"hPeruskarttaLehtiId":{"nullable":true,"format":"int32","type":"integer"}}},"RakenneOutput":{"additionalProperties":false,"type":"object","properties":{"vuosiPurku":{"nullable":true,"format":"int32","type":"integer"},"kayttajaMuutos":{"nullable":true,"type":"string"},"omistaja":{"nullable":true,"type":"string"},"kuntoArvioPvm":{"nullable":true,"format":"date-time","type":"string"},"kuntoRakenneId":{"nullable":true,"format":"int32","type":"integer"},"vuosiKayttoonOtto":{"nullable":true,"format":"int32","type":"integer"},"ympTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"vVesimuodostumaId":{"nullable":true,"format":"int32","type":"integer"},"koordErLat":{"nullable":true,"type":"string"},"omistajaVesal":{"nullable":true,"type":"string"},"koordErTmPohj":{"nullable":true,"format":"int32","type":"integer"},"lisatieto":{"nullable":true,"type":"string"},"kaytosTulvaTilanne":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"format":"int32","type":"integer"},"nimi":{"nullable":true,"type":"string"},"vuosiPoisto":{"nullable":true,"format":"int32","type":"integer"},"koordLong":{"nullable":true,"type":"string"},"vuosiRakennus":{"nullable":true,"format":"int32","type":"integer"},"numeerinenLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/LisatietoNumeerinenOutput"}},"koordTarkkuus":{"nullable":true,"format":"int32","type":"integer"},"koordLahdeId":{"nullable":true,"format":"int32","type":"integer"},"uUomaId":{"nullable":true,"format":"int32","type":"integer"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"ylaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"koordLat":{"nullable":true,"type":"string"},"jJarviId":{"nullable":true,"format":"int32","type":"integer"},"valtionKunnossapitovastuuId":{"format":"int32","type":"integer"},"kayttaja":{"nullable":true,"type":"string"},"koordsto":{"nullable":true,"type":"string"},"tekstiLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/LisatietoTekstiOutput"}},"aikaMuutos":{"nullable":true,"format":"date-time","type":"string"},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"lahde":{"nullable":true,"type":"string"},"perusteUspaasiaId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"rakenneTyyppiId":{"format":"int32","type":"integer"},"merkittavyysTulvaId":{"nullable":true,"format":"int32","type":"integer"},"rakenneId":{"format":"int32","type":"integer"},"kayttajaLisays":{"nullable":true,"type":"string"},"koordPkIta":{"nullable":true,"format":"int32","type":"integer"},"koordErLong":{"nullable":true,"type":"string"},"koordYkIta":{"nullable":true,"format":"int32","type":"integer"},"koordPkPohj":{"nullable":true,"format":"int32","type":"integer"},"koordYkPohj":{"nullable":true,"format":"int32","type":"integer"},"koordErTmIta":{"nullable":true,"format":"int32","type":"integer"},"aikaLisays":{"format":"date-time","type":"string"},"valintaLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/LisatietoValintaOutput"}},"hVesalId":{"nullable":true,"format":"int32","type":"integer"},"geojson":{"nullable":true,"type":"string"},"kunnossaPitaja":{"nullable":true,"type":"string"},"tilaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"hKuntaId":{"nullable":true,"format":"int32","type":"integer"},"hPeruskarttaLehtiId":{"nullable":true,"format":"int32","type":"integer"},"hankkeet":{"type":"array","items":{"format":"int32","type":"integer"}}}},"CreateLisatietoTekstiInput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"lisatietoTyyppiTunnus":{"type":"string"},"teksti":{"type":"string"}}},"UpdateLisatietoTekstiInput":{"additionalProperties":false,"type":"object","properties":{"lisatietoTyyppiTunnus":{"type":"string"},"teksti":{"type":"string"}}},"LisatietoValintaOutput":{"additionalProperties":false,"type":"object","properties":{"valintaId":{"format":"int32","type":"integer"},"rakenneId":{"format":"int32","type":"integer"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"LisatietoNumeerinenOutput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"arvo":{"format":"double","type":"number"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"RakenneOutputODataPage":{"additionalProperties":false,"type":"object","required":["value"],"properties":{"@odata.nextLink":{"nullable":true,"type":"string"},"@odata.count":{"nullable":true,"format":"int32","type":"integer"},"@odata.context":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/RakenneOutput"}}}},"CreateLisatietoNumeerinenOutput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"arvo":{"format":"double","type":"number"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"CreateLisatietoTekstiOutput":{"additionalProperties":false,"type":"object","properties":{"rakenneId":{"format":"int32","type":"integer"},"teksti":{"type":"string"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"RakenneTyyppiOutputODataPage":{"additionalProperties":false,"type":"object","required":["value"],"properties":{"@odata.nextLink":{"nullable":true,"type":"string"},"@odata.count":{"nullable":true,"format":"int32","type":"integer"},"@odata.context":{"nullable":true,"type":"string"},"value":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/RakenneTyyppiOutput"}}}},"CreateLisatietoValintaOutput":{"additionalProperties":false,"type":"object","properties":{"valintaId":{"format":"int32","type":"integer"},"rakenneId":{"format":"int32","type":"integer"},"lisatietoTyyppiId":{"format":"int32","type":"integer"}}},"CreateRakenneInput":{"additionalProperties":false,"type":"object","properties":{"tekstiLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoTekstiInput"}},"viiteId":{"nullable":true,"format":"int32","type":"integer"},"tunnus":{"nullable":true,"type":"string"},"vuosiPurku":{"nullable":true,"format":"int32","type":"integer"},"numeerisetLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoNumeerinenInput"}},"lahde":{"nullable":true,"type":"string"},"omistaja":{"nullable":true,"type":"string"},"kuntoArvioPvm":{"nullable":true,"format":"date-time","type":"string"},"kuntoRakenneId":{"nullable":true,"format":"int32","type":"integer"},"vuosiKayttoonOtto":{"nullable":true,"format":"int32","type":"integer"},"ympTyyppiId":{"nullable":true,"format":"int32","type":"integer"},"pvmTarkistus":{"nullable":true,"format":"date-time","type":"string"},"merkittavyysTulvaId":{"nullable":true,"format":"int32","type":"integer"},"omistajaVesal":{"nullable":true,"type":"string"},"koordErTmPohj":{"nullable":true,"format":"int32","type":"integer"},"rakenneTyyppiTunnus":{"nullable":true,"type":"string"},"lisatieto":{"nullable":true,"type":"string"},"kaytosTulvaTilanne":{"nullable":true,"type":"string"},"yllapitajaLaitosId":{"nullable":true,"format":"int32","type":"integer"},"nimi":{"type":"string"},"vuosiPoisto":{"nullable":true,"format":"int32","type":"integer"},"vuosiRakennus":{"nullable":true,"format":"int32","type":"integer"},"koordTarkkuus":{"nullable":true,"format":"int32","type":"integer"},"koordLahdeId":{"nullable":true,"format":"int32","type":"integer"},"koordErTmIta":{"nullable":true,"format":"int32","type":"integer"},"lisatietoJulkinen":{"nullable":true,"type":"string"},"valintaLisatiedot":{"type":"array","items":{"$ref":"#/components/schemas/CreateLisatietoValintaInput"}},"ylaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"kunnossaPitaja":{"nullable":true,"type":"string"},"tilaRakenneId":{"nullable":true,"format":"int32","type":"integer"},"valtionKunnossapitovastuuId":{"format":"int32","type":"integer"},"kayttaja":{"nullable":true,"type":"string"},"vesalNro":{"nullable":true,"type":"string"},"perusteUSPAAsiaId":{"nullable":true,"format":"int32","type":"integer"},"hKuntaId":{"nullable":true,"format":"int32","type":"integer"}}}},"securitySchemes":{"oauth2":{"flows":{"clientCredentials":{"tokenUrl":"https://identity.ymparisto.fi/connect/token","scopes":{"vesty.ruoppausilmoitus.write":"ruoppausilmoitusten kirjoitusoikeus"}}},"type":"oauth2"},"Bearer":{"in":"header","name":"Authorization","description":"Enter 'Bearer' [space] and then your valid token in the text input below.\r\n\r\nExample: \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9\"","type":"apiKey"}}},"security":[{"oauth2":["vesty.ruoppausilmoitus.write"],"Bearer":["vesty.ruoppausilmoitus.write"]}],"openapi":"3.0.4","paths":{"/api/Authenticate":{"post":{"summary":"Get an access token for your client","requestBody":{"content":{"application/xml":{"schema":{"type":"string"}},"application/json;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.streaming=true":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=false":{"schema":{"type":"string"}},"application/*+json":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=true":{"schema":{"type":"string"}},"text/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.metadata=full":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=false":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}},"description":"Response header X-Token-Expires-In contains the token expiration time in seconds","responses":{"200":{"description":"OK","content":{"application/xml":{"schema":{"type":"string"}},"application/json;odata.streaming=false":{"schema":{"type":"string"}},"application/octet-stream":{"schema":{"type":"string"}},"application/json;odata.streaming=true":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=true":{"schema":{"type":"string"}},"text/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.metadata=full":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=false":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request","content":{"application/xml":{"schema":{"type":"string"}},"application/json;odata.streaming=false":{"schema":{"type":"string"}},"application/octet-stream":{"schema":{"type":"string"}},"application/json;odata.streaming=true":{"schema":{"type":"string"}},"application/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.metadata=full;odata.streaming=true":{"schema":{"type":"string"}},"text/json":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=true":{"schema":{"type":"string"}},"application/json;odata.metadata=none;odata.streaming=false":{"schema":{"type":"string"}},"application/json;odata.metadata=full":{"schema":{"type":"string"}},"application/json;odata.metadata=minimal;odata.streaming=false":{"schema":{"type":"string"}},"text/plain":{"schema":{"type":"string"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"client_id"}],"tags":["Authentication"]}},"/api/v1/Rakenteet/$count":{"get":{"summary":"Hae kaikki rakenteet","operationId":"api/v{version:apiVersion}/Rakenteet/$count","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["Rakenteet"]}},"/api/v1/Rakenteet":{"get":{"summary":"Hae kaikki rakenteet","operationId":"api/v{version:apiVersion}/Rakenteet","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/RakenneOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["Rakenteet"]}},"/api/v1/Hankkeet/$count":{"get":{"summary":"Hae kaikki hankkeet","operationId":"api/v{version:apiVersion}/Hankkeet/$count","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["Hankkeet"]}},"/api/v1/RakenneTyypit":{"get":{"summary":"Hae kaikki rakennetyypit","operationId":"api/v{version:apiVersion}/RakenneTyypit","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["RakenneTyypit"]}},"/api/v1/Hankkeet/{key}":{"put":{"summary":"Päivitä hanke","requestBody":{"content":{"application/xml":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=minimal;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=full;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=full;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=none;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=none;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"application/json;odata.metadata=minimal;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}},"text/plain":{"schema":{"$ref":"#/components/schemas/UpdateHankeCommand"}}}},"operationId":"api/v{version:apiVersion}/Hankkeet/{key}","responses":{"422":{"description":"Unprocessable Content"},"204":{"description":"No Content"}},"parameters":[{"schema":{"format":"int32","type":"integer"},"in":"path","name":"key","required":true},{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"}],"tags":["Hankkeet"]}},"/api/v1/RakenneTyypit/$count":{"get":{"summary":"Hae kaikki rakennetyypit","operationId":"api/v{version:apiVersion}/RakenneTyypit/$count","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/RakenneTyyppiOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["RakenneTyypit"]}},"/api/v1/Hankkeet":{"post":{"summary":"Luo uusi Hanke","requestBody":{"content":{"application/xml":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=minimal;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=full;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=full;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=none;odata.streaming=true":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=none;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"application/json;odata.metadata=minimal;odata.streaming=false":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}},"text/plain":{"schema":{"$ref":"#/components/schemas/CreateHankeCommand"}}}},"operationId":"api/v{version:apiVersion}/Hankkeet","responses":{"201":{"description":"Created","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/CreateHankeOutput"}},"application/json":{"schema":{"$ref":"#/components/schemas/CreateHankeOutput"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/CreateHankeOutput"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/CreateHankeOutput"}}}},"422":{"description":"Unprocessable Content"}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"}],"tags":["Hankkeet"]},"get":{"summary":"Hae kaikki hankkeet","operationId":"api/v{version:apiVersion}/Hankkeet","responses":{"200":{"description":"OK","content":{"application/json;odata.metadata=none":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json;odata.metadata=minimal":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}},"application/json;odata.metadata=full":{"schema":{"$ref":"#/components/schemas/HankeOutputODataPage"}}}}},"parameters":[{"schema":{"type":"string"},"in":"query","name":"$select"},{"schema":{"type":"string"},"in":"query","name":"$expand"},{"schema":{"type":"string"},"in":"query","name":"$filter"},{"schema":{"type":"string"},"in":"query","name":"$orderby"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$top"},{"schema":{"format":"int32","type":"integer"},"in":"query","name":"$skip"},{"schema":{"type":"boolean"},"in":"query","name":"$count"}],"tags":["Hankkeet"]}}},"info":{"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"Feedback","url":"https://www.syke.fi/en-US/SYKE_Info/Contact_information/Feedback_form(10043)?r=38611"},"description":"<b>Edit this text in the swaggerDescription.html<\/b>\r\n<br/>\r\n","title":"Vesty API","version":"1"},"tags":[{"name":"Authentication"},{"name":"Hankkeet"},{"name":"RakenneTyypit"},{"name":"Rakenteet"}]}