001package gov.nist.secauto.oscal.lib.model; 002 003import gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine; 004import gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline; 005import gov.nist.secauto.metaschema.databind.IBindingContext; 006import gov.nist.secauto.metaschema.databind.model.AbstractBoundModule; 007import gov.nist.secauto.metaschema.databind.model.IBoundModule; 008import gov.nist.secauto.metaschema.databind.model.annotations.MetaschemaModule; 009import java.lang.Override; 010import java.lang.String; 011import java.net.URI; 012import java.util.List; 013 014@MetaschemaModule( 015 fields = SystemId.class, 016 assemblies = { 017 SystemComponent.class, 018 Protocol.class, 019 PortRange.class, 020 ImplementationStatus.class, 021 SystemUser.class, 022 AuthorizedPrivilege.class, 023 InventoryItem.class, 024 SetParameter.class 025 }, 026 imports = { 027 OscalMetadataModule.class, 028 OscalControlCommonModule.class 029 } 030) 031public final class OscalImplementationCommonModule extends AbstractBoundModule { 032 private static final MarkupLine NAME = MarkupLine.fromMarkdown("OSCAL Implementation Common Information"); 033 034 private static final String SHORT_NAME = "oscal-implementation-common"; 035 036 private static final String VERSION = "1.1.3"; 037 038 private static final URI XML_NAMESPACE = URI.create("http://csrc.nist.gov/ns/oscal/1.0"); 039 040 private static final URI JSON_BASE_URI = URI.create("http://csrc.nist.gov/ns/oscal"); 041 042 public OscalImplementationCommonModule(List<? extends IBoundModule> importedModules, 043 IBindingContext bindingContext) { 044 super(importedModules, bindingContext); 045 } 046 047 @Override 048 public MarkupLine getName() { 049 return NAME; 050 } 051 052 @Override 053 public String getShortName() { 054 return SHORT_NAME; 055 } 056 057 @Override 058 public String getVersion() { 059 return VERSION; 060 } 061 062 @Override 063 public URI getXmlNamespace() { 064 return XML_NAMESPACE; 065 } 066 067 @Override 068 public URI getJsonBaseUri() { 069 return JSON_BASE_URI; 070 } 071 072 @Override 073 public MarkupMultiline getRemarks() { 074 return null; 075 } 076}