001package ca.cdr.api.model.json.appgallery.console;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import ca.cdr.api.model.json.AbstractModelJson;
014import ca.cdr.api.model.json.AuditableJson;
015import ca.cdr.api.model.json.appgallery.common.AGApplicationJson;
016import ca.cdr.api.model.json.appgallery.common.AGIdentifierJson;
017import ca.cdr.api.model.json.appgallery.common.AGMetaDataJson;
018import ca.cdr.api.model.json.appgallery.common.AGOauthJson;
019import ca.cdr.api.model.json.appgallery.common.AGProfileJson;
020import ca.cdr.api.model.json.appgallery.common.AGScopeJson;
021import io.swagger.v3.oas.annotations.media.Schema;
022
023import java.util.List;
024
025public class AGConsoleJson extends AbstractModelJson {
026        public AGIdentifierJson identifier;
027
028        @Schema(description = "Application being registered")
029        public AGApplicationJson application;
030
031        @Schema(description = "Developer profile at the time of registration")
032        public AGProfileJson profile;
033
034        @Schema(description = "Information to help users search for and find the application.")
035        public List<String> classification;
036
037        public List<String> prerequisites;
038
039        @Schema(description = "SMART scopes required for the application.")
040        public List<AGScopeJson> scopes;
041
042        @Schema(description = "OIDC details")
043        public AGOauthJson oauth;
044
045        public AuditableJson auditable;
046
047        @Schema(description = "Application icon (base64 encoded)")
048        public String icon;
049
050        public AGIdentifierJson attestationIdentifier;
051
052        @Schema(description = "Notes for the reviewer to help them evaluate submissions")
053        public String registrationNote;
054
055        @Schema(description = "Metadata associated with registration")
056        public List<AGMetaDataJson> metaDataValues;
057
058        public List<String> countryIsoCodeAlpha2;
059
060        @Schema(description = "Current Developer profile associated with registration")
061        public AGProfileJson currentProfile;
062}