openapi: 3.1.0 info: title: Tilbakekreving version: 0.0.0 tags: - name: behandling - name: brev paths: /api/v1/behandling/{behandlingId}/: get: operationId: Behandling_hentBehandling parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/Behandling' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/behandlingslogg: get: operationId: Behandling_behandlingslogg parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: type: array items: $ref: '#/components/schemas/Logginnslag' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/feilutbetaling: get: operationId: Behandling_fakta parameters: - name: behandlingId in: path required: true schema: type: string responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/FaktaOmFeilutbetaling' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling patch: operationId: Behandling_oppdaterFakta parameters: - name: behandlingId in: path required: true schema: type: string responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/FaktaOmFeilutbetaling' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/OppdaterFaktaOmFeilutbetaling' /api/v1/behandling/{behandlingId}/foreslå-vedtak: post: operationId: Behandling_foreslaaVedtak parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/forhåndsvarsel: get: operationId: Behandling_forhandsvarsel parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/ForhaandsvarselResponse' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/forhåndsvarsel/send-varselbrev: post: operationId: Behandling_sendVarselbrev parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SendForhaandsvarsel' /api/v1/behandling/{behandlingId}/forhåndsvarsel/unntak: post: operationId: Behandling_lagreForhaandsvarselUnntak parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Unntak' /api/v1/behandling/{behandlingId}/forhåndsvarsel/utsett-frist: put: operationId: Behandling_utsettUttalelsesfrist parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/Uttalelsesfrist' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateUttalelsesfrist' /api/v1/behandling/{behandlingId}/forhåndsvarsel/uttalelse: post: operationId: Behandling_lagreBrukersuttalelse parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Uttalelse' /api/v1/behandling/{behandlingId}/journalpost/{journalpostId}/dokument/{dokumentInfoId}: get: operationId: Behandling_hentDokument parameters: - name: behandlingId in: path required: true schema: type: string format: uuid - name: journalpostId in: path required: true schema: type: string - name: dokumentInfoId in: path required: true schema: type: string responses: '200': description: The request has succeeded. content: application/octet-stream: schema: contentMediaType: application/octet-stream '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/kravgrunnlag/benytt-nyeste: put: operationId: Behandling_benyttNyesteKravgrunnlag parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/varselbrev/tekster: get: operationId: Behandling_hentVarselbrevTekster parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/VarselbrevTekst' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/vedtak/brev: get: operationId: Behandling_hentVedtaksbrev parameters: - name: behandlingId in: path required: true schema: type: string responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/VedtaksbrevData' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling put: operationId: Behandling_oppdaterVedtaksbrev parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/VedtaksbrevRedigerbareData' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VedtaksbrevRedigerbareDataUpdate' /api/v1/behandling/{behandlingId}/vedtak/resultat: get: operationId: Behandling_hentVedtaksresultat parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/Beregningsresultat' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/vilkårsvurdering: get: operationId: Behandling_vilkaarsvurdering parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/Vilkaar' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/vilkårsvurdering/periode/{periodeId}: post: operationId: Behandling_lagreVilkaarsvurdering parameters: - name: behandlingId in: path required: true schema: type: string format: uuid - name: periodeId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/Vilkaarsvurdering' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Vilkaarsvurdering' /api/v1/behandling/{behandlingId}/vilkårsvurdering/perioder: get: operationId: Behandling_vilkaarsvurderingsperioder parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. content: application/json: schema: type: array items: $ref: '#/components/schemas/PeriodeInfo' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/behandling/{behandlingId}/vilkårsvurdering/sammenslå: post: operationId: Behandling_slaaSammenPerioder parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Sammenslaaing' /api/v1/behandling/{behandlingId}/vilkårsvurdering/splitt: post: operationId: Behandling_splittPeriode parameters: - name: behandlingId in: path required: true schema: type: string format: uuid responses: '200': description: The request has succeeded. '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/SplittPeriode' /api/v1/behandling/{behandlingId}/{dokumentType}/gjeldende: get: operationId: Behandling_hentDokumentInfo parameters: - name: behandlingId in: path required: true schema: type: string format: uuid - name: dokumentType in: path required: true schema: $ref: '#/components/schemas/DokumentType' responses: '200': description: The request has succeeded. content: application/json: schema: $ref: '#/components/schemas/DokumentInfo' '400': description: The server could not understand the request due to invalid syntax. content: application/json: schema: $ref: '#/components/schemas/Error' '500': description: Server error content: application/json: schema: $ref: '#/components/schemas/Error' tags: - behandling /api/v1/brev/varselbrev/svg: post: operationId: Brev_lagSvgVarselbrev parameters: [] responses: '200': description: The request has succeeded. content: application/octet-stream: schema: contentMediaType: application/octet-stream tags: - brev requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VarselbrevData' /api/v1/brev/vedtaksbrev/svg: post: operationId: Brev_lagSvgVedtaksbrev parameters: [] responses: '200': description: The request has succeeded. content: application/octet-stream: schema: contentMediaType: application/octet-stream tags: - brev requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/VedtaksbrevData' components: schemas: Aktsomhet: type: object oneOf: - $ref: '#/components/schemas/Uaktsomt' - $ref: '#/components/schemas/GrovtUaktsomt' - $ref: '#/components/schemas/Forsettlig' discriminator: propertyName: aktsomhet mapping: uaktsomt: '#/components/schemas/Uaktsomt' grovtUaktsomt: '#/components/schemas/GrovtUaktsomt' forsettlig: '#/components/schemas/Forsettlig' ArsakTilTilbakeforing: type: string enum: - NyttKravgrunnlag - TilbakemeldingFraSaksbehandler Avsnitt: type: object required: - tittel - forklaring - meldingerTilSaksbehandler - id - underavsnitt properties: tittel: type: string minLength: 3 maxLength: 300 forklaring: type: string readOnly: true meldingerTilSaksbehandler: type: array items: type: string readOnly: true id: type: string format: uuid underavsnitt: type: array items: $ref: '#/components/schemas/RotElement' AvsnittUpdateItem: type: object required: - tittel - id - underavsnitt properties: tittel: type: string minLength: 3 maxLength: 300 id: type: string format: uuid underavsnitt: type: array items: $ref: '#/components/schemas/RotElementUpdateItem' Behandling: type: object properties: kravgrunnlagEndret: type: array items: $ref: '#/components/schemas/KravgrunnlagForskjell' BelopIBehold: type: object oneOf: - $ref: '#/components/schemas/Ingenting' - $ref: '#/components/schemas/Hele' - $ref: '#/components/schemas/Deler' discriminator: propertyName: belopIBehold mapping: ingenting: '#/components/schemas/Ingenting' hele: '#/components/schemas/Hele' deler: '#/components/schemas/Deler' Beregningsresultat: type: object required: - beregningsresultatsperioder - vedtaksresultat properties: beregningsresultatsperioder: type: array items: $ref: '#/components/schemas/Beregningsresultatsperiode' vedtaksresultat: $ref: '#/components/schemas/Vedtaksresultat' BeregningsresultatVurdering: type: string enum: - GodTro - Forsett - Uaktsomhet - GrovUaktsomhet - BurdeForstått - Forstod Beregningsresultatsperiode: type: object required: - fom - tom - feilutbetaltBeløp - vurdering - andelAvBeløp - renteprosent - tilbakekrevingsbeløp - tilbakekrevesBeløpEtterSkatt properties: fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true feilutbetaltBeløp: type: integer format: uint32 vurdering: $ref: '#/components/schemas/BeregningsresultatVurdering' andelAvBeløp: anyOf: - type: integer format: uint32 - type: 'null' renteprosent: anyOf: - type: integer format: uint32 - type: 'null' tilbakekrevingsbeløp: type: integer format: uint32 tilbakekrevesBeløpEtterSkatt: type: integer format: uint32 BestemmelseEllerGrunnlag: type: object required: - nøkkel - beskrivelse properties: nøkkel: type: string beskrivelse: type: string Brevmottaker: type: object required: - navn - personIdent properties: navn: type: string personIdent: type: string BurdeForstaatt: type: object required: - begrunnelse - unnlatelse properties: begrunnelse: type: string unnlatelse: $ref: '#/components/schemas/Unnlatelse' x-kotlin-implements: - ForstaaelseDto Deler: type: object required: - beløp - begrunnelse - reduksjon properties: beløp: type: integer format: uint32 begrunnelse: type: string reduksjon: $ref: '#/components/schemas/ReduksjonArsaker' x-kotlin-implements: - BelopIBeholdDto DokumentInfo: type: object required: - journalpostId - dokumentId properties: journalpostId: anyOf: - type: string - type: 'null' dokumentId: anyOf: - type: string - type: 'null' DokumentType: type: string enum: - VARSELBREV - VEDTAKSBREV Element: type: object oneOf: - $ref: '#/components/schemas/RentekstElement' discriminator: propertyName: type mapping: rentekst: '#/components/schemas/RentekstElement' EndretPeriode: type: object required: - fom - tom - endringIBeløp properties: fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true endringIBeløp: type: integer format: int32 x-kotlin-implements: - KravgrunnlagForskjellDto Error: type: object required: - tittel - melding properties: tittel: type: string melding: type: string Fakta: type: object required: - rettsligGrunnlag properties: rettsligGrunnlag: type: array items: type: string FaktaOmFeilutbetaling: type: object required: - ferdigvurdert - feilutbetaling - tidligereVarsletBeløp - muligeRettsligGrunnlag - perioder - vurdering - rettsgebyrÅrFraSaksbehandler - usikker4xRettsgebyr properties: tilbakeført: $ref: '#/components/schemas/ArsakTilTilbakeforing' readOnly: true ferdigvurdert: type: boolean readOnly: true feilutbetaling: $ref: '#/components/schemas/Feilutbetaling' tidligereVarsletBeløp: anyOf: - type: integer format: uint32 - type: 'null' muligeRettsligGrunnlag: type: array items: $ref: '#/components/schemas/MuligeRettsligGrunnlag' perioder: type: array items: $ref: '#/components/schemas/FaktaPeriode' vurdering: $ref: '#/components/schemas/Vurdering' rettsgebyrÅrFraSaksbehandler: anyOf: - type: integer format: uint32 - type: 'null' usikker4xRettsgebyr: type: boolean readOnly: true FaktaPeriode: type: object required: - id - fom - tom - feilutbetaltBeløp - splittbarePerioder - rettsligGrunnlag properties: id: type: string format: uuid fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true endringIKravgrunnlag: $ref: '#/components/schemas/KravgrunnlagForskjell' readOnly: true feilutbetaltBeløp: type: integer format: uint32 splittbarePerioder: type: array items: type: object required: - id - fom - tom - feilutbetaltBeløp - rettsligGrunnlag properties: id: type: string format: uuid fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true endringIKravgrunnlag: $ref: '#/components/schemas/KravgrunnlagForskjell' readOnly: true feilutbetaltBeløp: type: integer format: uint32 rettsligGrunnlag: type: array items: $ref: '#/components/schemas/RettsligGrunnlag' description: The template for omitting properties. rettsligGrunnlag: type: array items: $ref: '#/components/schemas/RettsligGrunnlag' Feilutbetaling: type: object required: - beløp - fom - tom - revurdering properties: beløp: type: integer format: uint32 fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true revurdering: $ref: '#/components/schemas/Revurdering' ForaarsaketAvMottaker: type: object required: - aktsomhet properties: aktsomhet: $ref: '#/components/schemas/Aktsomhet' x-kotlin-implements: - VilkaarsvurderingValgDto ForhaandsvarselErSendt: type: object required: - ferdigvurdert - forhåndsvarselInfo - uttalelsesfrist properties: tilbakeført: $ref: '#/components/schemas/ArsakTilTilbakeforing' readOnly: true ferdigvurdert: type: boolean readOnly: true forhåndsvarselInfo: $ref: '#/components/schemas/ForhaandsvarselInfo' uttalelsesfrist: $ref: '#/components/schemas/Uttalelsesfrist' x-kotlin-implements: - ForhaandsvarselStegDto ForhaandsvarselInfo: type: object required: - tekstFraSaksbehandler - varselbrevSendtTid properties: tekstFraSaksbehandler: type: string varselbrevSendtTid: type: string format: date ForhaandsvarselResponse: type: object required: - forhaandsvarselSteg - brukeruttalelse properties: forhaandsvarselSteg: $ref: '#/components/schemas/ForhaandsvarselSteg' brukeruttalelse: anyOf: - $ref: '#/components/schemas/Uttalelse' - type: 'null' ForhaandsvarselSteg: type: object oneOf: - $ref: '#/components/schemas/IkkeVurdert' - $ref: '#/components/schemas/ForhaandsvarselErSendt' - $ref: '#/components/schemas/ForhaandsvarselUnntak' discriminator: propertyName: type mapping: ikke_vurdert: '#/components/schemas/IkkeVurdert' sendt: '#/components/schemas/ForhaandsvarselErSendt' unntak: '#/components/schemas/ForhaandsvarselUnntak' ForhaandsvarselUnntak: type: object required: - ferdigvurdert - begrunnelseForUnntak - beskrivelse properties: tilbakeført: $ref: '#/components/schemas/ArsakTilTilbakeforing' readOnly: true ferdigvurdert: type: boolean readOnly: true begrunnelseForUnntak: $ref: '#/components/schemas/Varslingsunntak' beskrivelse: type: string x-kotlin-implements: - ForhaandsvarselStegDto Forsettlig: type: object required: - begrunnelse properties: begrunnelse: type: string x-kotlin-implements: - AktsomhetDto Forstaaelse: type: object oneOf: - $ref: '#/components/schemas/Forsto' - $ref: '#/components/schemas/BurdeForstaatt' discriminator: propertyName: forståelse mapping: forsto: '#/components/schemas/Forsto' burdeForstått: '#/components/schemas/BurdeForstaatt' Forsto: type: object required: - begrunnelse - unnlatelse properties: begrunnelse: type: string unnlatelse: $ref: '#/components/schemas/Unnlatelse' x-kotlin-implements: - ForstaaelseDto ForstoEllerBurdeForstaatt: type: object required: - forståelse properties: forståelse: $ref: '#/components/schemas/Forstaaelse' x-kotlin-implements: - VilkaarsvurderingValgDto Fritekst: type: string minLength: 3 maxLength: 3000 GodTro: type: object required: - begrunnelse - beløpIBehold properties: begrunnelse: type: string beløpIBehold: $ref: '#/components/schemas/BelopIBehold' x-kotlin-implements: - VilkaarsvurderingValgDto GrovtUaktsomt: type: object required: - begrunnelse - erDetSærligeGrunner properties: begrunnelse: type: string erDetSærligeGrunner: $ref: '#/components/schemas/ReduksjonArsaker' x-kotlin-implements: - AktsomhetDto Hele: type: object required: - begrunnelse - reduksjon properties: begrunnelse: type: string reduksjon: $ref: '#/components/schemas/ReduksjonArsaker' x-kotlin-implements: - BelopIBeholdDto Hovedavsnitt: type: object required: - tittel - forklaring - underavsnitt - hjemler properties: tittel: type: string minLength: 3 maxLength: 300 forklaring: type: string readOnly: true underavsnitt: type: array items: $ref: '#/components/schemas/RotElement' hjemler: type: string HovedavsnittUpdate: type: object required: - tittel - underavsnitt properties: tittel: type: string minLength: 3 maxLength: 300 underavsnitt: type: array items: $ref: '#/components/schemas/RotElementUpdateItem' HovedavsnittVarselbrev: type: object required: - tittel - innhold properties: tittel: type: string minLength: 3 maxLength: 300 innhold: type: array items: type: string IkkeAktuelt: type: object required: - erDetSærligeGrunner properties: erDetSærligeGrunner: $ref: '#/components/schemas/ReduksjonArsaker' x-kotlin-implements: - UnnlatelseDto IkkeVurdert: type: object x-kotlin-implements: - ForhaandsvarselStegDto Ingenting: type: object required: - begrunnelse properties: begrunnelse: type: string x-kotlin-implements: - BelopIBeholdDto JaSaerligeGrunner: type: object required: - særligeGrunnerFor - prosentReduksjon - begrunnelse - annetBegrunnelse properties: særligeGrunnerFor: type: array items: $ref: '#/components/schemas/Moment' prosentReduksjon: type: integer format: uint8 begrunnelse: type: string annetBegrunnelse: anyOf: - type: string - type: 'null' x-kotlin-implements: - ReduksjonArsakerDto KravgrunnlagForskjell: type: object oneOf: - $ref: '#/components/schemas/NyPeriode' - $ref: '#/components/schemas/EndretPeriode' discriminator: propertyName: type mapping: ny_periode: '#/components/schemas/NyPeriode' endret_periode: '#/components/schemas/EndretPeriode' Logginnslag: type: object required: - behandlingId - opprettetTid - type - aktør - aktørIdent - tittel - tekst - steg - ekstraInfo properties: behandlingId: type: string opprettetTid: type: string format: date-time type: type: string aktør: type: string aktørIdent: type: string tittel: type: string tekst: anyOf: - type: string - type: 'null' steg: anyOf: - type: string - type: 'null' ekstraInfo: type: object unevaluatedProperties: {} Moment: type: object required: - moment - beskrivelse properties: moment: type: string beskrivelse: type: string readOnly: true MuligeRettsligGrunnlag: type: object required: - bestemmelse - grunnlag properties: bestemmelse: $ref: '#/components/schemas/BestemmelseEllerGrunnlag' grunnlag: type: array items: $ref: '#/components/schemas/BestemmelseEllerGrunnlag' NeiSaerligeGrunner: type: object required: - særligeGrunnerMot - begrunnelse - annetBegrunnelse properties: særligeGrunnerMot: type: array items: $ref: '#/components/schemas/Moment' begrunnelse: type: string annetBegrunnelse: anyOf: - type: string - type: 'null' x-kotlin-implements: - ReduksjonArsakerDto NyPeriode: type: object required: - fom - tom - beløp properties: fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true beløp: type: integer format: uint32 x-kotlin-implements: - KravgrunnlagForskjellDto Oppdaget: type: object required: - dato - av - beskrivelse properties: dato: anyOf: - type: string format: date - type: 'null' av: type: string enum: - NAV - BRUKER - IKKE_VURDERT beskrivelse: anyOf: - $ref: '#/components/schemas/Fritekst' - type: 'null' OppdaterFaktaOmFeilutbetaling: type: object required: - rettsgebyrÅrFraSaksbehandler properties: perioder: type: array items: $ref: '#/components/schemas/OppdaterFaktaPeriode' vurdering: $ref: '#/components/schemas/Vurdering' rettsgebyrÅrFraSaksbehandler: anyOf: - type: integer format: uint32 - type: 'null' OppdaterFaktaPeriode: type: object required: - id - rettsligGrunnlag properties: id: type: string rettsligGrunnlag: type: array items: $ref: '#/components/schemas/RettsligGrunnlag' minItems: 1 Oppsummeringsdata: type: object required: - beregnerSkatt - perioder - sumFeilutbetaltBeløp - sumTilbakekrevesBeløpEtterSkatt properties: beregnerSkatt: type: boolean perioder: type: array items: $ref: '#/components/schemas/OppsummertPeriode' sumFeilutbetaltBeløp: type: string sumTilbakekrevesBeløpEtterSkatt: type: string OppsummertPeriode: type: object required: - fom - tom - feilutbetaltBeløp - vurdering - andelAvBeløp - renteprosent - tilbakekrevingsbeløp - tilbakekrevesBeløpEtterSkatt properties: fom: type: string tom: type: string feilutbetaltBeløp: type: string vurdering: type: string andelAvBeløp: type: string renteprosent: type: string tilbakekrevingsbeløp: type: string tilbakekrevesBeløpEtterSkatt: type: string PakrevdBegrunnelse: type: object required: - tittel - forklaring - meldingerTilSaksbehandler - begrunnelseType - underavsnitt properties: tittel: type: string forklaring: type: string readOnly: true meldingerTilSaksbehandler: type: array items: type: string readOnly: true begrunnelseType: type: string underavsnitt: type: array items: $ref: '#/components/schemas/Element' x-kotlin-implements: - RotElementDto - RotElementUpdateItemDto PakrevdBegrunnelseUpdateItem: type: object required: - begrunnelseType - underavsnitt properties: begrunnelseType: type: string underavsnitt: type: array items: $ref: '#/components/schemas/Element' x-kotlin-implements: - RotElementDto - RotElementUpdateItemDto Periode: type: object required: - fom - tom properties: fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true PeriodeInfo: type: object required: - periodeId - periode properties: periodeId: type: string format: uuid periode: $ref: '#/components/schemas/Periode' ReduksjonArsaker: type: object oneOf: - $ref: '#/components/schemas/NeiSaerligeGrunner' - $ref: '#/components/schemas/JaSaerligeGrunner' - $ref: '#/components/schemas/SkalIkkeReduseres' - $ref: '#/components/schemas/SkalReduseres' discriminator: propertyName: erDetReduksjonÅrsaker mapping: nei: '#/components/schemas/NeiSaerligeGrunner' ja: '#/components/schemas/JaSaerligeGrunner' neiGodTro: '#/components/schemas/SkalIkkeReduseres' jaGodTro: '#/components/schemas/SkalReduseres' RentekstElement: type: object required: - tekst properties: tekst: type: string minLength: 3 maxLength: 3000 x-kotlin-implements: - RotElementDto - RotElementUpdateItemDto RettsligGrunnlag: type: object required: - bestemmelse - grunnlag properties: bestemmelse: type: string minLength: 1 grunnlag: type: string minLength: 1 Revurdering: type: object required: - årsak - vedtaksdato - resultat properties: årsak: type: string vedtaksdato: type: string format: date resultat: type: string enum: - INNVILGET - OPPHØRT RotElement: type: object oneOf: - $ref: '#/components/schemas/RentekstElement' - $ref: '#/components/schemas/UnderavsnittElement' - $ref: '#/components/schemas/PakrevdBegrunnelse' discriminator: propertyName: type mapping: rentekst: '#/components/schemas/RentekstElement' underavsnitt: '#/components/schemas/UnderavsnittElement' påkrevd_begrunnelse: '#/components/schemas/PakrevdBegrunnelse' RotElementUpdateItem: type: object oneOf: - $ref: '#/components/schemas/RentekstElement' - $ref: '#/components/schemas/UnderavsnittElement' - $ref: '#/components/schemas/PakrevdBegrunnelseUpdateItem' discriminator: propertyName: type mapping: rentekst: '#/components/schemas/RentekstElement' underavsnitt: '#/components/schemas/UnderavsnittElement' påkrevd_begrunnelse: '#/components/schemas/PakrevdBegrunnelseUpdateItem' Sammenslaaing: type: object required: - vilkårsvurderingId - slåesSammenMedId properties: vilkårsvurderingId: type: string format: uuid slåesSammenMedId: type: string format: uuid Section: type: object required: - tittel - body properties: tittel: type: string body: type: array items: type: string SendForhaandsvarsel: type: object required: - tekstFraSaksbehandler properties: tekstFraSaksbehandler: type: string Signatur: type: object required: - enhetNavn - ansvarligSaksbehandler - besluttendeSaksbehandler properties: enhetNavn: type: string ansvarligSaksbehandler: type: string besluttendeSaksbehandler: anyOf: - type: string - type: 'null' SkalIkkeReduseres: type: object required: - relevans - annetBegrunnelse - begrunnelse properties: relevans: type: array items: $ref: '#/components/schemas/Moment' annetBegrunnelse: anyOf: - type: string - type: 'null' begrunnelse: type: string x-kotlin-implements: - ReduksjonArsakerDto SkalIkkeUnnlates: type: object required: - begrunnelse - erDetSærligeGrunner properties: begrunnelse: type: string erDetSærligeGrunner: $ref: '#/components/schemas/ReduksjonArsaker' x-kotlin-implements: - UnnlatelseDto SkalReduseres: type: object required: - prosentReduksjon - relevans - annetBegrunnelse - begrunnelse properties: prosentReduksjon: type: integer format: uint32 relevans: type: array items: $ref: '#/components/schemas/Moment' annetBegrunnelse: anyOf: - type: string - type: 'null' begrunnelse: type: string x-kotlin-implements: - ReduksjonArsakerDto SkalUnnlates: type: object required: - begrunnelse properties: begrunnelse: type: string x-kotlin-implements: - UnnlatelseDto SplittPeriode: type: object required: - vilkårsvurderingId properties: vilkårsvurderingId: type: string format: uuid Standardtekst: type: object required: - tittel - underavsnitt properties: tittel: type: string underavsnitt: type: array items: $ref: '#/components/schemas/Element' Uaktsomt: type: object required: - begrunnelse - unnlatelse properties: begrunnelse: type: string unnlatelse: $ref: '#/components/schemas/Unnlatelse' x-kotlin-implements: - AktsomhetDto UnderavsnittElement: type: object required: - tittel - underavsnitt properties: tittel: type: string underavsnitt: type: array items: $ref: '#/components/schemas/Element' x-kotlin-implements: - RotElementDto - RotElementUpdateItemDto Unnlatelse: type: object oneOf: - $ref: '#/components/schemas/SkalUnnlates' - $ref: '#/components/schemas/SkalIkkeUnnlates' - $ref: '#/components/schemas/IkkeAktuelt' discriminator: propertyName: unnlatelse mapping: skalUnnlates: '#/components/schemas/SkalUnnlates' skalIkkeUnnlates: '#/components/schemas/SkalIkkeUnnlates' ikkeAktuelt: '#/components/schemas/IkkeAktuelt' Unntak: type: object required: - begrunnelseForUnntak - beskrivelse properties: begrunnelseForUnntak: $ref: '#/components/schemas/Varslingsunntak' beskrivelse: type: string UpdateUttalelsesfrist: type: object properties: nyFrist: type: string format: date begrunnelse: type: string Uttalelse: type: object required: - harBrukerUttaltSeg properties: harBrukerUttaltSeg: $ref: '#/components/schemas/UttalelseVurdering' uttalelsesdato: type: string format: date hvorBrukerenUttalteSeg: type: string beskrivelse: type: string UttalelseVurdering: type: string enum: - JA_ETTER_FORHÅNDSVARSEL - NEI_ETTER_FORHÅNDSVARSEL - UNNTAK_ALLEREDE_UTTALT_SEG - UNNTAK_INGEN_UTTALELSE - IKKE_VURDERT Uttalelsesfrist: type: object required: - opprinneligFrist properties: nyFrist: type: string format: date begrunnelse: type: string opprinneligFrist: type: string format: date readOnly: true VarselbrevData: type: object required: - hovedavsnitt - underavsnitt - brevGjelder - signatur - sendtDato - saksnummer properties: hovedavsnitt: $ref: '#/components/schemas/HovedavsnittVarselbrev' underavsnitt: type: array items: $ref: '#/components/schemas/UnderavsnittElement' brevGjelder: $ref: '#/components/schemas/Brevmottaker' signatur: $ref: '#/components/schemas/Signatur' sendtDato: type: string format: date saksnummer: type: string VarselbrevTekst: type: object required: - overskrift - avsnitter properties: overskrift: type: string avsnitter: type: array items: $ref: '#/components/schemas/Section' Varslingsunntak: type: string enum: - IKKE_PRAKTISK_MULIG - UKJENT_ADRESSE_ELLER_URIMELIG_ETTERSPORING - ÅPENBART_UNØDVENDIG - ALLEREDE_UTTALET_SEG VedtaksbrevData: type: object required: - hovedavsnitt - avsnitt - sistOppdatert - brevGjelder - sendtDato - ytelse - signatur - oppsummeringstabell - bunntekster - saksnummer properties: hovedavsnitt: $ref: '#/components/schemas/Hovedavsnitt' avsnitt: type: array items: $ref: '#/components/schemas/Avsnitt' sistOppdatert: type: string format: date-time readOnly: true brevGjelder: $ref: '#/components/schemas/Brevmottaker' sendtDato: type: string ytelse: $ref: '#/components/schemas/Ytelse' signatur: $ref: '#/components/schemas/Signatur' oppsummeringstabell: $ref: '#/components/schemas/Oppsummeringsdata' bunntekster: type: array items: $ref: '#/components/schemas/Standardtekst' saksnummer: type: string VedtaksbrevRedigerbareData: type: object required: - hovedavsnitt - avsnitt - sistOppdatert properties: hovedavsnitt: $ref: '#/components/schemas/Hovedavsnitt' avsnitt: type: array items: $ref: '#/components/schemas/Avsnitt' sistOppdatert: type: string format: date-time readOnly: true VedtaksbrevRedigerbareDataUpdate: type: object required: - hovedavsnitt - avsnitt properties: hovedavsnitt: $ref: '#/components/schemas/HovedavsnittUpdate' avsnitt: type: array items: $ref: '#/components/schemas/AvsnittUpdateItem' Vedtaksresultat: type: string enum: - IngenTilbakebetaling - DelvisTilbakebetaling - FullTilbakebetaling Vilkaar: type: object required: - ferdigvurdert - vilkårsperioder - momenterSærligeGrunner - momenterReduksjonGodTro - erUnder4xRettsgebyr properties: tilbakeført: $ref: '#/components/schemas/ArsakTilTilbakeforing' readOnly: true ferdigvurdert: type: boolean readOnly: true vilkårsperioder: type: array items: $ref: '#/components/schemas/Vilkaarsperiode' momenterSærligeGrunner: type: array items: $ref: '#/components/schemas/Moment' readOnly: true momenterReduksjonGodTro: type: array items: $ref: '#/components/schemas/Moment' readOnly: true erUnder4xRettsgebyr: type: boolean readOnly: true Vilkaarsperiode: type: object required: - feilutbetaltBeløp - delresultat - fakta - simulertBeløp - vilkårsvurdering properties: feilutbetaltBeløp: type: integer format: uint32 readOnly: true delresultat: type: string enum: - FULL_TILBAKEKREVING - INGEN_TILBAKEKREVING - DELVIS_TILBAKEKREVING readOnly: true fakta: $ref: '#/components/schemas/Fakta' readOnly: true simulertBeløp: type: integer format: uint32 readOnly: true vilkårsvurdering: $ref: '#/components/schemas/Vilkaarsvurdering' Vilkaarsvurdering: type: object required: - id - fom - tom - delbarePerioder - valg properties: id: type: string format: uuid fom: type: string format: date readOnly: true tom: type: string format: date readOnly: true endringIKravgrunnlag: $ref: '#/components/schemas/KravgrunnlagForskjell' readOnly: true delbarePerioder: type: array items: $ref: '#/components/schemas/PeriodeInfo' readOnly: true valg: $ref: '#/components/schemas/VilkaarsvurderingValg' VilkaarsvurderingIkkeVurdert: type: object x-kotlin-implements: - VilkaarsvurderingValgDto VilkaarsvurderingValg: type: object oneOf: - $ref: '#/components/schemas/GodTro' - $ref: '#/components/schemas/ForaarsaketAvMottaker' - $ref: '#/components/schemas/ForstoEllerBurdeForstaatt' - $ref: '#/components/schemas/VilkaarsvurderingIkkeVurdert' discriminator: propertyName: vurdering mapping: god_tro: '#/components/schemas/GodTro' forårsaket_av_mottaker: '#/components/schemas/ForaarsaketAvMottaker' forsto_eller_burde_forstått: '#/components/schemas/ForstoEllerBurdeForstaatt' ikke_vurdert: '#/components/schemas/VilkaarsvurderingIkkeVurdert' Vurdering: type: object required: - årsak properties: årsak: anyOf: - $ref: '#/components/schemas/Fritekst' - type: 'null' minLength: 3 maxLength: 3000 oppdaget: $ref: '#/components/schemas/Oppdaget' Ytelse: type: object required: - url - ubestemtEntall - bestemtEntall properties: url: type: string ubestemtEntall: type: string bestemtEntall: type: string