--- title: XSD schema types summary: X4 attribute types: expressions, objects, unions and constraints. section: reference kind: guide status: reference updated: 2026-10-27 tags: ["XSD","schema","types"] sources: ["https://wiki.egosoft.com/X4%20Foundations%20Wiki/Modding%20Support/","https://www.w3.org/TR/xmlschema11-2/"] --- ## Schema types Click a type in an MD / AI attribute table to open its structure, bases, constraints and uses. These are technical facts from X4 schemas, not distributed XSD files. | Type | Construction | | --- | --- | | [`actor`](wiki:schema-actor-50c9c4ae) | restriction | | [`aiscriptname`](wiki:schema-aiscriptname-c5f4e6f4) | restriction | | [`animationtriggerlookup`](wiki:schema-animationtriggerlookup-7b83caa4) | restriction | | [`assignmentexprlookup`](wiki:schema-assignmentexprlookup-d2c16c02) | union | | [`attentionlookup`](wiki:schema-attentionlookup-621eb2f3) | restriction | | [`autoadvancerandomseed`](wiki:schema-autoadvancerandomseed-1fb31fa3) | restriction | | [`boolean`](wiki:schema-boolean-bf84d3d6) | restriction | | [`booleanexpression`](wiki:schema-booleanexpression-1c6e91c7) | union | | [`build`](wiki:schema-build-44575cf5) | restriction | | [`buildmethodlookup`](wiki:schema-buildmethodlookup-52620eb8) | restriction | | [`buildprocessor`](wiki:schema-buildprocessor-785894c5) | restriction | | [`buyer`](wiki:schema-buyer-6dbd0f28) | restriction | | [`checkeventsource`](wiki:schema-checkeventsource-7c8f079b) | restriction | | [`classlist`](wiki:schema-classlist-257a7f0a) | list | | [`classlookup`](wiki:schema-classlookup-a3b06fd2) | union | | [`colour`](wiki:schema-colour-d6838c35) | restriction | | [`comment`](wiki:schema-comment-c44bb2fd) | restriction | | [`componentstateexprlookup`](wiki:schema-componentstateexprlookup-ab71703f) | union | | [`container`](wiki:schema-container-a42d5197) | restriction | | [`controlpaneltypelookup`](wiki:schema-controlpaneltypelookup-7b2d65a5) | union | | [`controlpost`](wiki:schema-controlpost-7bcf4ba7) | restriction | | [`controlpostexprlookup`](wiki:schema-controlpostexprlookup-e6327e7b) | union | | [`conversation`](wiki:schema-conversation-8b34dbc2) | restriction | | [`cuename`](wiki:schema-cuename-04a5e2cb) | restriction | | [`cutscenekey`](wiki:schema-cutscenekey-7419c3fe) | restriction | | [`deployablecategorylookup`](wiki:schema-deployablecategorylookup-c0f83070) | union | | [`destructibleclasslookup`](wiki:schema-destructibleclasslookup-7344c920) | union | | [`docked`](wiki:schema-docked-f8f22ee3) | restriction | | [`drop`](wiki:schema-drop-d90ee9cc) | restriction | | [`dropware`](wiki:schema-dropware-8fff6821) | restriction | | [`entity`](wiki:schema-entity-bca3685f) | restriction | | [`entityclasslookup`](wiki:schema-entityclasslookup-355d19ca) | union | | [`entityrole`](wiki:schema-entityrole-e1b70787) | restriction | | [`entityroleexprlookup`](wiki:schema-entityroleexprlookup-57b4ea73) | union | | [`entitytype`](wiki:schema-entitytype-50fb582a) | restriction | | [`entitytypeexprlookup`](wiki:schema-entitytypeexprlookup-7d20f18a) | union | | [`eventtradeoffer`](wiki:schema-eventtradeoffer-94a4a926) | restriction | | [`expression`](wiki:schema-expression-b8bc0e4f) | restriction | | [`extendedweaponmodelookup`](wiki:schema-extendedweaponmodelookup-6bdd43be) | union | | [`faction`](wiki:schema-faction-ff926d04) | restriction | | [`factionexprlookup`](wiki:schema-factionexprlookup-6ea384ee) | union | | [`factionlookup`](wiki:schema-factionlookup-61f6afde) | restriction | | [`factionorobject`](wiki:schema-factionorobject-15c8fa16) | restriction | | [`findappend`](wiki:schema-findappend-c485cc76) | restriction | | [`findincludeobjects`](wiki:schema-findincludeobjects-9bf43173) | restriction | | [`findmultiple`](wiki:schema-findmultiple-b94a146b) | restriction | | [`findrecursive`](wiki:schema-findrecursive-6e6926f0) | restriction | | [`findrequired`](wiki:schema-findrequired-b9b6ae34) | restriction | | [`findsectorappend`](wiki:schema-findsectorappend-7797dd8e) | restriction | | [`fixedrandomseed`](wiki:schema-fixedrandomseed-6fa38dae) | restriction | | [`formationshapelookup`](wiki:schema-formationshapelookup-c15f1e46) | union | | [`freemissionactorslot`](wiki:schema-freemissionactorslot-70522aa4) | restriction | | [`genericactor`](wiki:schema-genericactor-b8e050db) | restriction | | [`group`](wiki:schema-group-ad936fcb) | restriction | | [`groupeventsource`](wiki:schema-groupeventsource-6492ab7b) | restriction | | [`groupname`](wiki:schema-groupname-27041f4e) | restriction | | [`hasmasstraffic`](wiki:schema-hasmasstraffic-35f7baf1) | restriction | | [`idname`](wiki:schema-idname-c4c68e28) | restriction | | [`immediateorder`](wiki:schema-immediateorder-c2b77385) | restriction | | [`infolibrarytypelookup`](wiki:schema-infolibrarytypelookup-be533b64) | restriction | | [`inline:add_actor_to_room@chairtrigger`](wiki:schema-inline-add-actor-to-room-chairtrigger-30dec1de) | restriction | | [`inline:add_cargo@scale`](wiki:schema-inline-add-cargo-scale-9be2d7eb) | restriction | | [`inline:add_inventory@scale`](wiki:schema-inline-add-inventory-scale-1d826902) | restriction | | [`inline:add_units@scale`](wiki:schema-inline-add-units-scale-fcb712b8) | restriction | | [`inline:append_to_list@scale`](wiki:schema-inline-append-to-list-scale-2ce6f240) | restriction | | [`inline:check_any@scale`](wiki:schema-inline-check-any-scale-95d64398) | restriction | | [`inline:create_position@scale`](wiki:schema-inline-create-position-scale-bc287d4b) | restriction | | [`inline:debug_text@filter`](wiki:schema-inline-debug-text-filter-92adcbc0) | restriction | | [`inline:delay@scale`](wiki:schema-inline-delay-scale-5836e67b) | restriction | | [`inline:delay@time`](wiki:schema-inline-delay-time-0602d60f) | restriction | | [`inline:do_all@scale`](wiki:schema-inline-do-all-scale-e237196a) | restriction | | [`inline:drop_cargo@scale`](wiki:schema-inline-drop-cargo-scale-c0bac82b) | restriction | | [`inline:event_game_loaded@build`](wiki:schema-inline-event-game-loaded-build-3e6709db) | restriction | | [`inline:event_game_loaded@originalversion`](wiki:schema-inline-event-game-loaded-originalversion-9a604162) | restriction | | [`inline:event_game_loaded@version`](wiki:schema-inline-event-game-loaded-version-de7c68cd) | restriction | | [`inline:get_zone_at_position@scale`](wiki:schema-inline-get-zone-at-position-scale-27aa2f7f) | restriction | | [`inline:launch_drone@scale`](wiki:schema-inline-launch-drone-scale-85a5a586) | restriction | | [`inline:level@scale`](wiki:schema-inline-level-scale-9a23cd84) | restriction | | [`inline:library@purpose`](wiki:schema-inline-library-purpose-484219e1) | restriction | | [`inline:owner@scale`](wiki:schema-inline-owner-scale-f575d546) | restriction | | [`inline:patch@state`](wiki:schema-inline-patch-state-561ad63e) | restriction | | [`inline:play_sound@type`](wiki:schema-inline-play-sound-type-f958a08a) | restriction | | [`inline:position@scale`](wiki:schema-inline-position-scale-3dcf6d85) | restriction | | [`inline:quality@scale`](wiki:schema-inline-quality-scale-e135f588) | restriction | | [`inline:quantity@scale`](wiki:schema-inline-quantity-scale-267bad45) | restriction | | [`inline:refposition@scale`](wiki:schema-inline-refposition-scale-fcffe5cc) | restriction | | [`inline:remove_cargo@scale`](wiki:schema-inline-remove-cargo-scale-70c8acd8) | restriction | | [`inline:remove_inventory@scale`](wiki:schema-inline-remove-inventory-scale-bc01fca8) | restriction | | [`inline:remove_units@scale`](wiki:schema-inline-remove-units-scale-18dc5500) | restriction | | [`inline:safepos@scale`](wiki:schema-inline-safepos-scale-f14f28cf) | restriction | | [`inline:select@scale`](wiki:schema-inline-select-scale-1dbd63c3) | restriction | | [`inline:set_object_hull@scale`](wiki:schema-inline-set-object-hull-scale-3f480a09) | restriction | | [`inline:set_object_min_hull@scale`](wiki:schema-inline-set-object-min-hull-scale-83943f7e) | restriction | | [`inline:set_object_shield@scale`](wiki:schema-inline-set-object-shield-scale-25354fec) | restriction | | [`inline:set_skill@scale`](wiki:schema-inline-set-skill-scale-d6b8fb08) | restriction | | [`inline:set_value@scale`](wiki:schema-inline-set-value-scale-2b58d8d6) | restriction | | [`inline:start_conversation@priority`](wiki:schema-inline-start-conversation-priority-d549256b) | restriction | | [`inline:start_conversation@type`](wiki:schema-inline-start-conversation-type-01095dc7) | restriction | | [`inline:variation@scale`](wiki:schema-inline-variation-scale-9cf6e90a) | restriction | | [`inline:wait@scale`](wiki:schema-inline-wait-scale-3f0501c2) | restriction | | [`interrupt_actionsref`](wiki:schema-interrupt-actionsref-abd673c1) | restriction | | [`interrupt_conditionsref`](wiki:schema-interrupt-conditionsref-a906fe23) | restriction | | [`killer`](wiki:schema-killer-ed45d626) | restriction | | [`killmethodlookup`](wiki:schema-killmethodlookup-37e9e912) | union | | [`licencelookup`](wiki:schema-licencelookup-a419f83d) | restriction | | [`line`](wiki:schema-line-38a9c1e7) | restriction | | [`lineorlist`](wiki:schema-lineorlist-2a45a3b1) | restriction | | [`list`](wiki:schema-list-a330395c) | restriction | | [`loadoutflaglist`](wiki:schema-loadoutflaglist-f71a04ea) | list | | [`loadoutflaglookup`](wiki:schema-loadoutflaglookup-8c90455e) | restriction | | [`lvalueexpression`](wiki:schema-lvalueexpression-05437cfd) | restriction | | [`lvaluename`](wiki:schema-lvaluename-743c13fb) | restriction | | [`macro`](wiki:schema-macro-27d66c0d) | restriction | | [`macroname`](wiki:schema-macroname-416dd5ac) | restriction | | [`namespacelookup`](wiki:schema-namespacelookup-579dfa9d) | restriction | | [`namestring`](wiki:schema-namestring-3646b03f) | restriction | | [`negatecondition`](wiki:schema-negatecondition-17859ff0) | restriction | | [`object`](wiki:schema-object-2958d416) | restriction | | [`objectclasslookup`](wiki:schema-objectclasslookup-59d5b36d) | union | | [`objectlist`](wiki:schema-objectlist-63083229) | restriction | | [`objectmacro`](wiki:schema-objectmacro-de1b586c) | restriction | | [`onfaillookup`](wiki:schema-onfaillookup-55f3aa08) | restriction | | [`operation`](wiki:schema-operation-9bf5a24e) | restriction | | [`order`](wiki:schema-order-3eeb7e96) | restriction | | [`orderparamlookup`](wiki:schema-orderparamlookup-b34bcc3d) | restriction | | [`orderstatelookup`](wiki:schema-orderstatelookup-6b16820c) | union | | [`owner`](wiki:schema-owner-4c102969) | restriction | | [`owners`](wiki:schema-owners-6f0e3a8c) | restriction | | [`page`](wiki:schema-page-3660315a) | restriction | | [`pagewithdefault`](wiki:schema-pagewithdefault-be89c8f0) | restriction | | [`paramname`](wiki:schema-paramname-a6565f1b) | restriction | | [`pos`](wiki:schema-pos-7160f868) | restriction | | [`positionalclasslookup`](wiki:schema-positionalclasslookup-163ed53c) | union | | [`pricemodifieramount`](wiki:schema-pricemodifieramount-aad24cf4) | restriction | | [`profilelookup`](wiki:schema-profilelookup-a6f1cc04) | restriction | | [`purposelookup`](wiki:schema-purposelookup-955966b0) | union | | [`quadrantlookup`](wiki:schema-quadrantlookup-9a6dea27) | union | | [`race`](wiki:schema-race-129ce50d) | restriction | | [`raceexprlookup`](wiki:schema-raceexprlookup-30c0f900) | union | | [`racelookup`](wiki:schema-racelookup-b260b661) | restriction | | [`relationchangereasonlookup`](wiki:schema-relationchangereasonlookup-7c1440b4) | union | | [`relationcomparison`](wiki:schema-relationcomparison-2dd35a70) | restriction | | [`relationlookup`](wiki:schema-relationlookup-ab4be591) | restriction | | [`resumeflag`](wiki:schema-resumeflag-b33cd800) | restriction | | [`roomclasslookup`](wiki:schema-roomclasslookup-88fa1752) | union | | [`roompopulationtypeexprlookup`](wiki:schema-roompopulationtypeexprlookup-ff3130df) | union | | [`roomtypeexprlookup`](wiki:schema-roomtypeexprlookup-fa689a28) | union | | [`scriptname`](wiki:schema-scriptname-5b94bb0f) | restriction | | [`section`](wiki:schema-section-3fb45623) | restriction | | [`sector`](wiki:schema-sector-9d5d7fcf) | restriction | | [`selectionlookup`](wiki:schema-selectionlookup-e9c5b811) | restriction | | [`selectionweight`](wiki:schema-selectionweight-20be3b34) | restriction | | [`seller`](wiki:schema-seller-a4279eae) | restriction | | [`setoperationlookup`](wiki:schema-setoperationlookup-34eeca51) | restriction | | [`ship`](wiki:schema-ship-e5d5b971) | restriction | | [`shipclasslookup`](wiki:schema-shipclasslookup-73b4e416) | union | | [`shipsizeclasslookup`](wiki:schema-shipsizeclasslookup-984aa90e) | union | | [`shiptypeexprlookup`](wiki:schema-shiptypeexprlookup-7c3b46ad) | union | | [`signalleaktypelookup`](wiki:schema-signalleaktypelookup-6261bbdb) | union | | [`skilltype`](wiki:schema-skilltype-8cff393d) | restriction | | [`skilltypeexprlookup`](wiki:schema-skilltypeexprlookup-7d474fa5) | union | | [`space`](wiki:schema-space-3f49dbbf) | restriction | | [`spaceclasslookup`](wiki:schema-spaceclasslookup-3154c3d6) | union | | [`spacelist`](wiki:schema-spacelist-5dce5422) | restriction | | [`spacelistnozone`](wiki:schema-spacelistnozone-8cdc184d) | restriction | | [`speakdelay`](wiki:schema-speakdelay-a0ed6203) | restriction | | [`speakemotion`](wiki:schema-speakemotion-15f0a2c7) | restriction | | [`speakinterruptontimer`](wiki:schema-speakinterruptontimer-07169dc0) | restriction | | [`speaktimer`](wiki:schema-speaktimer-0e8e4601) | restriction | | [`stationclasslookup`](wiki:schema-stationclasslookup-677e657d) | union | | [`stationtypeexprlookup`](wiki:schema-stationtypeexprlookup-016b1c1a) | union | | [`tradeoffer`](wiki:schema-tradeoffer-f192c8cf) | restriction | | [`type`](wiki:schema-type-1303c06b) | restriction | | [`uipositionlookup`](wiki:schema-uipositionlookup-c32169fe) | union | | [`unitcategorylookup`](wiki:schema-unitcategorylookup-40d63369) | union | | [`ware`](wiki:schema-ware-9a438aa6) | restriction | | [`waretransportlookup`](wiki:schema-waretransportlookup-7add9c14) | union | | [`weaponmodelookup`](wiki:schema-weaponmodelookup-9f01ea8b) | union | | [`weapontypelookup`](wiki:schema-weapontypelookup-de2d587c) | restriction | | [`weight`](wiki:schema-weight-0844df8f) | restriction | | [`xpath`](wiki:schema-xpath-4872de98) | restriction | | [`xpath-add`](wiki:schema-xpath-add-6a3f5d79) | restriction | | [`xpath-cond`](wiki:schema-xpath-cond-d595d150) | restriction | | [`xs:boolean`](wiki:schema-xs-boolean-f099f6dc) | builtin | | [`xs:decimal`](wiki:schema-xs-decimal-33321cf5) | builtin | | [`xs:double`](wiki:schema-xs-double-b3c112c0) | builtin | | [`xs:float`](wiki:schema-xs-float-046ac063) | builtin | | [`xs:int`](wiki:schema-xs-int-ccdc67fe) | builtin | | [`xs:integer`](wiki:schema-xs-integer-5c99925f) | builtin | | [`xs:nonNegativeInteger`](wiki:schema-xs-nonnegativeinteger-bbdb0370) | builtin | | [`xs:positiveInteger`](wiki:schema-xs-positiveinteger-0be8dd28) | builtin | | [`xs:string`](wiki:schema-xs-string-d5652e9b) | builtin | | [`xs:unsignedInt`](wiki:schema-xs-unsignedint-29603132) | builtin | | [`zone`](wiki:schema-zone-543e33c4) | restriction |